Skip to content

Commit

Permalink
fix: use 128 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir authored Oct 25, 2024
1 parent 425fa44 commit ad1a490
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions crates/builder/src/tasks/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@ use crate::{
tasks::block::InProgressBlock,
};
use alloy::consensus::{constants::GWEI_TO_WEI, SimpleCoder};
use alloy::eips::BlockId;
use alloy::eips::BlockNumberOrTag;
use alloy::network::{TransactionBuilder, TransactionBuilder4844};
use alloy::providers::{Provider as _, WalletProvider};
use alloy::rpc::types::eth::TransactionRequest;
use alloy::signers::Signer;
use alloy::sol_types::SolCall;
use alloy::transports::TransportError;
use alloy::{consensus::SimpleCoder, eips::BlockNumberOrTag};
use alloy::{
eips::BlockId,
network::{TransactionBuilder, TransactionBuilder4844},
};
use alloy_primitives::{FixedBytes, U256};
use eyre::{bail, eyre};
use oauth2::{
Expand Down Expand Up @@ -119,7 +116,7 @@ impl SubmitTask {
Ok(TransactionRequest::default()
.with_blob_sidecar(sidecar)
.with_input(data)
.with_max_priority_fee_per_gas(GWEI_TO_WEI * 16))
.with_max_priority_fee_per_gas((GWEI_TO_WEI * 16) as u128))
}

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

0 comments on commit ad1a490

Please sign in to comment.