Skip to content

parlia: use parent snapshot for finalized quorum#3569

Merged
MatusKysel merged 2 commits into
developfrom
bugfix/parlia-finalized-number
Feb 24, 2026
Merged

parlia: use parent snapshot for finalized quorum#3569
MatusKysel merged 2 commits into
developfrom
bugfix/parlia-finalized-number

Conversation

@MatusKysel
Copy link
Copy Markdown
Contributor

Use the parent block's snapshot instead of the current block's snapshot when computing the validator quorum for fast finality. The current block's snapshot may reflect epoch changes (validator set transitions) that have not yet taken effect, leading to incorrect quorum thresholds.

Use the parent block's snapshot instead of the current block's snapshot
when computing the validator quorum for fast finality. The current block's
snapshot may reflect epoch changes (validator set transitions) that have
not yet taken effect, leading to incorrect quorum thresholds.
@MatusKysel MatusKysel force-pushed the bugfix/parlia-finalized-number branch from f2ddfde to 576146c Compare February 23, 2026 13:18
@allformless allformless marked this pull request as ready for review February 24, 2026 04:03
@MatusKysel MatusKysel merged commit f2d351c into develop Feb 24, 2026
7 of 9 checks passed
@MatusKysel MatusKysel deleted the bugfix/parlia-finalized-number branch February 24, 2026 08:23
@allformless allformless added this to the 1.7.1 milestone Feb 25, 2026
MatusKysel added a commit to bnb-chain/reth-bsc that referenced this pull request Feb 27, 2026
- 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 added a commit to bnb-chain/reth-bsc that referenced this pull request Feb 27, 2026
@allformless allformless added the Mendel hard fork next to Fermi label Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mendel hard fork next to Fermi

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants