Skip to content

Add CIP-173: Fix PoS Dispute Evidence and Stake Locking#173

Open
peilun-conflux wants to merge 2 commits into
Conflux-Chain:masterfrom
peilun-conflux:cip-pos-dispute-evidence
Open

Add CIP-173: Fix PoS Dispute Evidence and Stake Locking#173
peilun-conflux wants to merge 2 commits into
Conflux-Chain:masterfrom
peilun-conflux:cip-pos-dispute-evidence

Conversation

@peilun-conflux

@peilun-conflux peilun-conflux commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

This CIP specifies two PoS dispute consensus fixes, activated together at a single PoS transition view:

  • Dispute evidence (conflux-rust #3534): a dispute is accepted only if both pieces of evidence are signed by the accused validator and genuinely distinct — vote evidence must be two valid vote signatures over LedgerInfos with distinct hashes; proposal evidence must be two Proposal blocks 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.
  • Stake locking (conflux-rust #3524): the CIP-156 dispute relock also triggers for a validator whose stake is entirely unlocking, closing the escape of retiring votes after equivocating.

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 Reviewable

peilun-conflux and others added 2 commits July 6, 2026 16:44
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>
@peilun-conflux peilun-conflux changed the title Add draft CIP: Fix PoS Dispute Evidence and Stake Locking Add CIP-173: Fix PoS Dispute Evidence and Stake Locking Jul 6, 2026
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