Skip to content

Restrict contract rollback to the winning acceptance - #183

Open
viktor-ferenczi wants to merge 1 commit into
codex/se1910-journal-timingsfrom
codex/se-1909-contract-acceptance
Open

viktor-ferenczi wants to merge 1 commit into
codex/se1910-journal-timingsfrom
codex/se-1909-contract-acceptance

Conversation

@viktor-ferenczi

Copy link
Copy Markdown
Contributor

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.

@viktor-ferenczi
viktor-ferenczi force-pushed the codex/se-1909-contract-acceptance branch from 4d2e713 to 49e8549 Compare November 25, 2026 05:04
@viktor-ferenczi
viktor-ferenczi changed the base branch from main to codex/se1910-journal-timings November 25, 2026 05:04
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