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

[backport] fix: non-determinism while jailing #345

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

gitferry
Copy link
Member

The voting power table is a map which causes random order of processing jailing events. If more than one fps jailed at one block, non-determinism could happen. The PR fixed this by introducing ordered voting power table which retains the order from interating the votingPowerBbnBlockHeightStore

The voting power table is a map which causes random order of processing
jailing events. If more than one fps jailed at one block,
non-determinism could happen. The PR fixed this by introducing ordered
voting power table which retains the order from interating the
`votingPowerBbnBlockHeightStore`
@gitferry gitferry requested a review from a team as a code owner December 13, 2024 10:27
@gitferry gitferry merged commit e6857ac into release/v0.18.x Dec 13, 2024
18 checks passed
@gitferry gitferry deleted the gai/backport-non-determinism-fix branch December 13, 2024 11:01
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