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

Save validator set hash in ExtraData for non-neighboring epoch verification #47

Merged
merged 4 commits into from
May 7, 2024

Conversation

yoshidan
Copy link
Contributor

@yoshidan yoshidan commented May 2, 2024

The current_validators stored in ConsState during non-adjacent epoch validation were no longer the validators corresponding to the current epoch.
Therefore, we decided to always use the hash of the validator set obtained from extraData in the epoch.

@yoshidan yoshidan changed the title Use validator in extraData when epoch Save validator set hash in extraData when epoch May 2, 2024
Naohiro Yoshida added 2 commits May 2, 2024 17:26
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan changed the title Save validator set hash in extraData when epoch Save validator set hash in ExtraData for non-neighboring epoch verification May 2, 2024
@yoshidan yoshidan requested a review from 3100 May 2, 2024 14:03
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan merged commit e118055 into main May 7, 2024
1 check passed
@yoshidan yoshidan deleted the fix_non_neighboring_epoch_update branch May 7, 2024 05:23
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