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> {
341341 nonce = expected_nonce,
342342 "Successfully sent gas bumped transaction"
343343 ) ;
344- return Ok ( true ) ;
344+ Ok ( true )
345345 }
346346 Err ( e) => {
347347 tracing:: warn!(
@@ -351,11 +351,18 @@ impl<C: Chain> EoaExecutorWorker<C> {
351351 "Failed to send gas bumped transaction"
352352 ) ;
353353 // Don't fail the worker, just log the error
354- return Ok ( false ) ;
354+ Ok ( false )
355355 }
356356 }
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+ ) ;
358362
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+ }
360367 }
361368}
You can’t perform that action at this time.
0 commit comments