Skip to content

fix: port bsc consensus fixes (bnb-chain/bsc#3575, bnb-chain/bsc#3569)#274

Merged
MatusKysel merged 1 commit intomendel-hffrom
fix/port-bsc-fixes
Feb 27, 2026
Merged

fix: port bsc consensus fixes (bnb-chain/bsc#3575, bnb-chain/bsc#3569)#274
MatusKysel merged 1 commit intomendel-hffrom
fix/port-bsc-fixes

Conversation

@MatusKysel
Copy link
Contributor

  • Cap CometBFT light client validator count in decode_consensus_state to prevent DoS via oversized input (max 99 validators).
  • Use parent snapshot for finalized quorum calculation to avoid incorrect thresholds during epoch validator-set transitions.

- Cap CometBFT light client validator count in decode_consensus_state
  to prevent DoS via oversized input (max 99 validators).
- Use parent snapshot for finalized quorum calculation to avoid
  incorrect thresholds during epoch validator-set transitions.
@MatusKysel MatusKysel merged commit cd433f0 into mendel-hf Feb 27, 2026
8 checks passed
@MatusKysel MatusKysel deleted the fix/port-bsc-fixes branch February 27, 2026 10:26
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.

2 participants