Add CIP-173: Fix PoS Dispute Evidence and Stake Locking#173
Open
peilun-conflux wants to merge 2 commits into
Open
Add CIP-173: Fix PoS Dispute Evidence and Stake Locking#173peilun-conflux wants to merge 2 commits into
peilun-conflux wants to merge 2 commits into
Conversation
PoS dispute handling has two consensus bugs: the evidence check never requires the two pieces of evidence to conflict (two copies of one vote qualify, and NIL blocks qualify with no signature from the accused validator at all), and the CIP-156 relock is skipped for a validator whose stake is entirely unlocking, so an honest validator can lose access to its stake for six months while an equivocating one can escape the lock by retiring its votes first. The fixes (conflux-rust #3524, merged, and #3534, open) change dispute validity and the resulting PoS state on every node, so they are spec-breaking consensus changes that require a CIP; this drafts that CIP with both rules activating at a single PoS transition view. CIP number is left "<to be assigned>" for an editor. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The CIP ID equals the submission PR's ID per the README, and this CIP was submitted as Conflux-Chain#173, so fill in the number and rename the file to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
This CIP specifies two PoS dispute consensus fixes, activated together at a single PoS transition view:
LedgerInfos with distinct hashes; proposal evidence must be twoProposalblocks signed by the accused validator with distinct block ids. Previously, two copies of one vote qualified as a dispute, NIL-block evidence required no signature from the accused validator, and genuine proposal equivocation was rejected on its committee-signed quorum certificates.The CIP number is left ""; per the README the CIP ID equals this PR's ID, so a follow-up commit renames the file and fills in the number.
🤖 Generated with Claude Code
This change is