Skip to content

Harden ROUND-CHANGE quorum checks with distinct signer verification#50

Open
chrischarlesharrison wants to merge 1 commit intomasterfrom
round-change-quorum-checks
Open

Harden ROUND-CHANGE quorum checks with distinct signer verification#50
chrischarlesharrison wants to merge 1 commit intomasterfrom
round-change-quorum-checks

Conversation

@chrischarlesharrison
Copy link
Copy Markdown
Collaborator

Extend the distinct signer validation pattern from PREPARE messages to ROUND-CHANGE messages, ensuring proper enforcement across all consensus justification paths.

Extend the distinct signer validation
  pattern from PREPARE messages to ROUND-CHANGE messages, ensuring consistent enforcement across all consensus justification paths.

Updates three functions: - hasQuorumOfRoundChangeMessagesForNil: dedup + validator set check - hasQuorumOfRoundChangeMessagesForPreparedRoundAndBlock: same -
  hasBadProposalCount loop in isJustified: dedup by signer address Also adds a length cap rejecting RC sets larger than the validator set.
@chrischarlesharrison chrischarlesharrison force-pushed the round-change-quorum-checks branch from 6554684 to 61f190e Compare March 30, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant