-
Notifications
You must be signed in to change notification settings - Fork 690
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(cometbft) Prevent panic on non-nil proposal without vote extensions #3270
Conversation
e982009
to
189daaf
Compare
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.
@chillyvee Thanks for opening the PR. See my comments below. Also, is this change state-breaking? If so, please add the changelog entry also to the .changelog/unreleased/state-breaking
folder.
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.
Rename the file to 3270-bump-cometbft
and move it to .changelog/unreleased/dependencies/
.
129b823
to
db96fc9
Compare
From what we know, this is not state breaking. We mixed this fix into seda without updating other nodes and remain in consensus without panics. The bug fix only removes an accidental panic preventing normal program flow. Updated changelog as you suggest |
db96fc9
to
87dd328
Compare
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.
@chillyvee could you please rebase on main? I added the v19.x backport label so it will be automatically backported to release/v19.x
87dd328
to
3817d25
Compare
PR rebased on main. |
LGTM. Thanks @chillyvee! |
…ns (#3270) * fix(cometbft) Prevent panic on non-nil proposal without vote extensions * Update changelog files for PR 3270 feedback Co-authored-by: Marius Poke <[email protected]> --------- Co-authored-by: Marius Poke <[email protected]> (cherry picked from commit c5ff8d2)
Description
We saw that gaiad has adoped cometbft v0.38 "HEAD" but we are aware of a panic bug affecting validator nodes.
We first experienced daemon panics on seda chain due to cometbft v0.38.6 calling panic when a non-nil proposal vote has vote extensions disabled.
The panic is a mistake and cometbft v0.38.11 includes our fix.
This panic is likely to affect gaiad regardless of vote extensions being enabled or not since the bug is:
Link to cometbft PR and discussion:
cometbft/cometbft#3565
This fix can reduce gaiad panics on upcoming mainnet v19
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, client, or state breaking change (i.e., requires minor or major version bump).changelog
(for details, see contributing guidelines)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