Skip to content

Commit

Permalink
chore: bump max prio fee (#58)
Browse files Browse the repository at this point in the history
* chore: bump max prio fee

* fmt
  • Loading branch information
Evalir authored Oct 25, 2024
1 parent e687e3d commit 425fa44
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/builder/src/tasks/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ use crate::{
signer::LocalOrAws,
tasks::block::InProgressBlock,
};
use alloy::consensus::{constants::GWEI_TO_WEI, SimpleCoder};
use alloy::network::{TransactionBuilder, TransactionBuilder4844};
use alloy::providers::{Provider as _, WalletProvider};
use alloy::rpc::types::eth::TransactionRequest;
use alloy::signers::Signer;
Expand Down Expand Up @@ -114,7 +116,10 @@ impl SubmitTask {
) -> eyre::Result<TransactionRequest> {
let data = Zenith::submitBlockCall { header, v, r, s, _4: Default::default() }.abi_encode();
let sidecar = in_progress.encode_blob::<SimpleCoder>().build()?;
Ok(TransactionRequest::default().with_blob_sidecar(sidecar).with_input(data))
Ok(TransactionRequest::default()
.with_blob_sidecar(sidecar)
.with_input(data)
.with_max_priority_fee_per_gas(GWEI_TO_WEI * 16))
}

async fn next_host_block_height(&self) -> eyre::Result<u64> {
Expand Down

0 comments on commit 425fa44

Please sign in to comment.