-
Notifications
You must be signed in to change notification settings - Fork 306
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
Add delete finalized state interface #8374
Add delete finalized state interface #8374
Conversation
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
…ce' into Add-deleteFinalizedState-interface
assertStateIsDeleted(state1.getSlot()); | ||
assertStateIsDeleted(state2.getSlot()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i know this is evil, but can we delete state 2 first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean in theory or you requesting a change there? anyway it's possible and the order doesn't matter at this level of the codebase, I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Description
Adds the delete interface to the the V4FinalizedState, allowing deleting states by slot.
Necessary for the archive state pruner.
Fixed Issue(s)
Part of #8331
Documentation
doc-change-required
label to this PR if updates are required.Changelog