Skip to content

Commit 3011976

Browse files
committed
fmt
1 parent 369ba52 commit 3011976

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

executors/src/eoa/worker/transaction.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::time::Duration;
33
/// Fixed overhead added to gas estimates to account for estimation inaccuracies
44
const GAS_ESTIMATION_FIXED_OVERHEAD: u64 = 50_000;
55

6-
use alloy:{
6+
use alloy::{
77
consensus::{
88
SignableTransaction, Signed, TxEip4844Variant, TxEip4844WithSidecar, TypedTransaction,
99
},
@@ -313,7 +313,8 @@ impl<C: Chain> EoaExecutorWorker<C> {
313313
if tx_request.gas.is_none() {
314314
match self.chain.provider().estimate_gas(tx_request.clone()).await {
315315
Ok(gas_limit) => {
316-
tx_request = tx_request.with_gas_limit(gas_limit * 120 / 100 + GAS_ESTIMATION_FIXED_OVERHEAD); // 20% buffer + fixed overhead
316+
tx_request = tx_request
317+
.with_gas_limit(gas_limit * 120 / 100 + GAS_ESTIMATION_FIXED_OVERHEAD); // 20% buffer + fixed overhead
317318
}
318319
Err(e) => {
319320
// Check if this is a revert

0 commit comments

Comments
 (0)