Repository navigation
Restrict contract rollback to the winning acceptance - #183
Open
viktor-ferenczi wants to merge 1 commit into
Open
viktor-ferenczi wants to merge 1 commit into
viktor-ferenczi wants to merge 1 commit into
Conversation
viktor-ferenczi
force-pushed
the
codex/se-1909-contract-acceptance
branch
from
November 25, 2026 05:04
4d2e713 to
49e8549
Compare
viktor-ferenczi
changed the base branch from
main
to
codex/se1910-journal-timings
November 25, 2026 05:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A node that loses both replies to an acceptance tries to withdraw it. Previously the World Authority removed whichever acceptance held that contract ID. A competing node could therefore undo the winner's contract after a timeout.
Carry the winning operation ID through the activation scope, authority record and global save. A withdrawal must match that ID. Existing saved acceptances deserialize with the legacy empty operation ID.
The Linux cluster ledger scenario passed all 61 checks. After replacing the World Authority, a competing withdrawal returned
different acceptance. The winning player could still abandon the contract and all nodes agreed on the balances and ownership. The prior baseline passed its 60 existing checks.This protects rollback while investigating the game-thread wait in SE-1909.