Skip to content

Commit c3c0b91

Browse files
apply the gas fee bump in all attempts (no exceptions)
1 parent ad01ed0 commit c3c0b91

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -449,16 +449,14 @@ impl ProofAggregator {
449449
tx_req = tx_req.with_nonce(nonce);
450450

451451
// Apply gas fee bump for retries
452-
if attempt > 0 {
453-
tx_req = self
454-
.apply_gas_fee_bump(
455-
base_bump_percentage,
456-
max_fee_bump_percentage,
457-
priority_fee_wei,
458-
tx_req,
459-
)
460-
.await?;
461-
}
452+
tx_req = self
453+
.apply_gas_fee_bump(
454+
base_bump_percentage,
455+
max_fee_bump_percentage,
456+
priority_fee_wei,
457+
tx_req,
458+
)
459+
.await?;
462460

463461
let provider = self.proof_aggregation_service.provider();
464462

0 commit comments

Comments
 (0)