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

PoS: slashing applied at a new epoch causes a crash #1245

Closed
tzemanovic opened this issue Mar 23, 2023 · 0 comments · Fixed by #1246
Closed

PoS: slashing applied at a new epoch causes a crash #1245

tzemanovic opened this issue Mar 23, 2023 · 0 comments · Fixed by #1246
Labels
bug Something isn't working PoS

Comments

@tzemanovic
Copy link
Member

When a slash is being applied in a block that also starts a new epoch, it causes the node to crash because it's being applied before we copy validator sets into the new epoch and application of a slash then fails to find the validator at this offset (introduced in #740).

This is timing sensitive, but it can occasionally appear in the test e2e::ledger_tests::double_signing_gets_slashed.

@tzemanovic tzemanovic added bug Something isn't working PoS labels Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PoS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant