File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ impl<C: Chain> EoaExecutorWorker<C> {
341
341
nonce = expected_nonce,
342
342
"Successfully sent gas bumped transaction"
343
343
) ;
344
- return Ok ( true ) ;
344
+ Ok ( true )
345
345
}
346
346
Err ( e) => {
347
347
tracing:: warn!(
@@ -351,11 +351,18 @@ impl<C: Chain> EoaExecutorWorker<C> {
351
351
"Failed to send gas bumped transaction"
352
352
) ;
353
353
// Don't fail the worker, just log the error
354
- return Ok ( false ) ;
354
+ Ok ( false )
355
355
}
356
356
}
357
- }
357
+ } else {
358
+ tracing:: debug!(
359
+ nonce = expected_nonce,
360
+ "Successfully retrieved all transactions for this nonce, but failed to find newest transaction for gas bump, sending noop"
361
+ ) ;
358
362
359
- Ok ( false )
363
+ let noop_tx = self . send_noop_transaction ( expected_nonce) . await ?;
364
+ self . store . process_noop_transactions ( & [ noop_tx] ) . await ?;
365
+ Ok ( true )
366
+ }
360
367
}
361
368
}
You can’t perform that action at this time.
0 commit comments