Skip to content

runtime: read the nonce account from parent state when rolling back a failed transaction - #310

Merged
smcio merged 1 commit into
Overclock-Validator:alpenglow-devfrom
cavemanloverboy:leader-nonce-rollback
Oct 18, 2026
Merged

smcio merged 1 commit into
Overclock-Validator:alpenglow-devfrom
cavemanloverboy:leader-nonce-rollback

Conversation

@cavemanloverboy

@cavemanloverboy cavemanloverboy commented Oct 18, 2026 •

Copy link
Copy Markdown

A failed durable-nonce transaction during bloc production could leave its nonce unadvanced, while replay advances it. The rollback in MaybeAdvanceNonceAccountForFailedTx only read the slot account store, which starts empty on a leader bank, so a nonce account the slot had not written yet was skipped.

It now falls back to parent state, as the fee payer already does in handleFailedTx. Replay always finds the account in its own store, so its behavior does not change.

@smcio
smcio merged commit b9f7fd0 into Overclock-Validator:alpenglow-dev Oct 18, 2026
2 checks passed
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