-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
docs: RFC for Optimistic Execution #16499
Conversation
Normally when panicking in FinalizeBlock the app panics because there's no recovery. On other ABCI methods there is a panic recovery, like in ProcessProposal. So because we call FinalizeBlock from ProcessProposal, any panic will get recovered. |
@facundomedica should we sync on this? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@facundomedica we should wrap this up so we dont lose the information |
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.
Nice work! Left a few minor comments.
One thing I'd like to see is actual design/code around goroutine management. I.e. spawning them, ensuring only 1 exists at a time, canceling one and waiting for completion.
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
overall looks good. making it optional for now, via a variable on by the developers not by the node operators would be good. In the worst case it would be good to allow a coordinated override, but this could be done with a new binary as the change is not consensus breaking |
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
Description
See rendered
TODO:
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change