Skip to content

fix(tx-submitter): add one-shot nonce override to recover from stuck … - #1079

Open
Kukoomomo wants to merge 1 commit into
mainfrom
fix/submitter_force_nonce
Open

Kukoomomo wants to merge 1 commit into
mainfrom
fix/submitter_force_nonce

Conversation

@Kukoomomo

Copy link
Copy Markdown
Contributor

…nonce gaps

getNextNonce() only ever moves forward (max of the L1 node's pending nonce and the locally cached pnonce+1), so it can never rediscover or refill an earlier nonce the service has lost track of locally. Add TX_SUBMITTER_FORCE_NEXT_COMMIT_NONCE (default 0/disabled) to force the next commit tx onto a specific nonce once, then auto-clear so normal nonce selection resumes afterward.

…nonce gaps

getNextNonce() only ever moves forward (max of the L1 node's pending nonce
and the locally cached pnonce+1), so it can never rediscover or refill an
earlier nonce the service has lost track of locally. Add
TX_SUBMITTER_FORCE_NEXT_COMMIT_NONCE (default 0/disabled) to force the next
commit tx onto a specific nonce once, then auto-clear so normal nonce
selection resumes afterward.
@Kukoomomo
Kukoomomo requested review from a team and freefu-sec October 29, 2026 23:20
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a0af3bb0-e968-439a-87f0-aa379076b4ed
Commits

Reviewing files that changed from the base of the PR and between 1cee926 and 361bb53.

Files selected for processing: 3
  • tx-submitter/flags/flags.go
  • tx-submitter/services/rollup.go
  • tx-submitter/utils/config.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant