@@ -227,12 +227,11 @@ impl SubmitTask {
227
227
// Create a blob transaction with the blob header and signature values and return it
228
228
let tx = self
229
229
. build_blob_tx ( fills, header, v, r, s, block) ?
230
- // .with_from(self.provider().default_signer_address())
231
- . with_to ( self . config . builder_helper_address ) ;
232
- // .with_max_fee_per_gas(max_fee_per_gas)
233
- // .with_max_priority_fee_per_gas(max_priority_fee_per_gas)
234
- // .with_max_fee_per_blob_gas(max_fee_per_blob_gas)
235
- // .with_nonce(nonce);
230
+ . with_to ( self . config . builder_helper_address )
231
+ . with_max_fee_per_gas ( max_fee_per_gas)
232
+ . with_max_priority_fee_per_gas ( max_priority_fee_per_gas)
233
+ . with_max_fee_per_blob_gas ( max_fee_per_blob_gas)
234
+ . with_nonce ( nonce) ;
236
235
237
236
debug ! ( ?tx, "prepared transaction request" ) ;
238
237
Ok ( tx)
@@ -438,7 +437,7 @@ impl SubmitTask {
438
437
last_block_attempted = block. block_number ( ) ;
439
438
debug ! ( last_block_attempted, "resetting last block attempted" ) ;
440
439
441
- if self . retrying_handle_inbound ( & block, 10 ) . await . is_err ( ) {
440
+ if self . retrying_handle_inbound ( & block, 20 ) . await . is_err ( ) {
442
441
debug ! ( "error handling inbound block" ) ;
443
442
continue ;
444
443
} ;
@@ -455,16 +454,17 @@ impl SubmitTask {
455
454
}
456
455
457
456
fn calculate_gas_limits ( retry_count : usize ) -> ( u128 , u128 , u128 ) {
458
- let base_fee_per_gas: u128 = 60_000_000 ;
459
- let base_priority_fee_per_gas: u128 = 20_000_000 ;
460
- let base_fee_per_blob_gas: u128 = 1_000_000 ;
457
+ let base_fee_per_gas: u128 = 100_000_000_000 ;
458
+ let base_priority_fee_per_gas: u128 = 2_000_000_000 ;
459
+ let base_fee_per_blob_gas: u128 = 1_000_000_000 ;
461
460
462
- let bump_multiplier = 1500u128 . pow ( retry_count as u32 ) ;
461
+ let bump_multiplier = 1150u128 . pow ( retry_count as u32 ) ; // 15% bump
462
+ let blob_bump_multiplier = 2000u128 . pow ( retry_count as u32 ) ; // 100% bump (double each time) for blob gas
463
463
let bump_divisor = 1000u128 . pow ( retry_count as u32 ) ;
464
464
465
465
let max_fee_per_gas = base_fee_per_gas * bump_multiplier / bump_divisor;
466
466
let max_priority_fee_per_gas = base_priority_fee_per_gas * bump_multiplier / bump_divisor;
467
- let max_fee_per_blob_gas = base_fee_per_blob_gas * bump_multiplier / bump_divisor;
467
+ let max_fee_per_blob_gas = base_fee_per_blob_gas * blob_bump_multiplier / bump_divisor;
468
468
469
469
debug ! (
470
470
retry_count,
0 commit comments