-
Notifications
You must be signed in to change notification settings - Fork 304
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
change StateSelector logic #8985
base: master
Are you sure you want to change the base?
Conversation
fixes Consensys#7955 needs more testing, need to see how AT goes initially. Signed-off-by: Paul Harris <[email protected]>
also moved some private functions to the bottom (breaks my own rule of not refactoring). The new functionality was a finalized selector similar to teh justified flow in CombinedChainDataClient, and a |
// The finalized checkpoint may change because of optimistically | ||
// imported blocks at the head and if the head isn't optimistic, the | ||
// finalized block can't be optimistic. |
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.
there was nothing testing this.
i went with the on_block implementation of the finalized state where we base it off of the checkpoint.
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
…g but useful. Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
fixes #7955
needs more testing, need to see how AT goes initially.
alternative solution to #8782
Documentation
doc-change-required
label to this PR if updates are required.Changelog