From b2bcd4d941fd9476cf77dfae426bee87f44c4eff Mon Sep 17 00:00:00 2001 From: Prithvish Baidya Date: Tue, 5 Aug 2025 20:30:40 +0530 Subject: [PATCH] nonce unstuck fix --- executors/src/eoa/worker/confirm.rs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/executors/src/eoa/worker/confirm.rs b/executors/src/eoa/worker/confirm.rs index e21a002..57579a1 100644 --- a/executors/src/eoa/worker/confirm.rs +++ b/executors/src/eoa/worker/confirm.rs @@ -341,7 +341,7 @@ impl EoaExecutorWorker { nonce = expected_nonce, "Successfully sent gas bumped transaction" ); - return Ok(true); + Ok(true) } Err(e) => { tracing::warn!( @@ -351,11 +351,18 @@ impl EoaExecutorWorker { "Failed to send gas bumped transaction" ); // Don't fail the worker, just log the error - return Ok(false); + Ok(false) } } - } + } else { + tracing::debug!( + nonce = expected_nonce, + "Successfully retrieved all transactions for this nonce, but failed to find newest transaction for gas bump, sending noop" + ); - Ok(false) + let noop_tx = self.send_noop_transaction(expected_nonce).await?; + self.store.process_noop_transactions(&[noop_tx]).await?; + Ok(true) + } } }