-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Bech32 PubKey: use protobuf in slashing keeper #7979
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7979 +/- ##
=======================================
Coverage 61.56% 61.57%
=======================================
Files 601 601
Lines 34446 34443 -3
=======================================
- Hits 21208 21207 -1
+ Misses 11054 11053 -1
+ Partials 2184 2183 -1 |
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. Would be good to add a changelog entry under "State Machine Breaking"
aebc3c9
to
fdac398
Compare
Updated the changelog |
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.
ACK. I presume we'll need to handle the stargate migration scripts for these changes?
@alexanderbez I don't think so, as Robert wrote:
|
Got it 👍 (note, on a live upgrade I believe it would) |
Description
x/slashing
keeper was not migrated to use protobuf serialization for pub keys.This change breaks the state machine and thus requires a migration for update. That being said we don't need to write new migration, because this keeper data is not a part genesis object (it's generated through processing other genesis messages).
Related to: #7447
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes