Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change blocks to be audited by their prior validator set #157

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

zdave-parity
Copy link
Contributor

Instead of their posterior validator set.

The prior validator set needs to be used by GRANDPA for validator set handover to work properly. Specifically, the first block in an epoch must be finalized by the previous validator set. This ensures that there is an unequivocal starting point for the next validator set, and there is no possibility of accidentally "unfinalizing" a block.

The validator set used for auditing should match the set used by GRANDPA, as validators use auditing results to determine how they vote in GRANDPA. Hence the change to use the prior validator set for auditing.

Instead of their posterior validator set.

The prior validator set needs to be used by GRANDPA for validator set
handover to work properly. Specifically, the first block in an epoch
must be finalized by the previous validator set. This ensures that there
is an unequivocal starting point for the next validator set, and there
is no possibility of accidentally "unfinalizing" a block.

The validator set used for auditing should match the set used by
GRANDPA, as validators use auditing results to determine how they vote
in GRANDPA. Hence the change to use the prior validator set for
auditing.
@gavofyork gavofyork merged commit 13a26eb into gavofyork:main Dec 6, 2024
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.

3 participants