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

Fix challenged blocks handling. #1517

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

nickeskov
Copy link
Member

@nickeskov nickeskov commented Oct 16, 2024

This PR breaks compatibility with the previous state version.
Fix for #1423.
The challenger’s bonus is now only considered during block header validation. The effective balance of the challenged is now reset at the block height with the "challenge".

@nickeskov nickeskov added the do not merge The PR is not ready to be merged label Oct 16, 2024
@nickeskov nickeskov added the bug Something isn't working label Oct 16, 2024
@nickeskov nickeskov removed the do not merge The PR is not ready to be merged label Oct 17, 2024
@nickeskov nickeskov merged commit eb49725 into master Oct 17, 2024
16 checks passed
@nickeskov nickeskov deleted the fix-handle-challenged-blocks branch October 17, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants