Skip to content

Conversation

@md0x
Copy link
Contributor

@md0x md0x commented Dec 19, 2025

PR description

Adds a guardrail to the OO bot to detect nonce backlogs before running settlements.
If pending > latest, the bot skips settlements and attempts to clear the backlog by submitting a 0-value self-tx at nonce = latest. If it succeeds, it exits cleanly; if all attempts fail, it logs an error and exits early.

Why:
Submitting new settlements while txs are stuck can compound nonce issues. This makes the bot fail-safe, either self-healing or exiting loudly to avoid further damage.

@md0x md0x marked this pull request as ready for review December 19, 2025 15:26
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.

2 participants