-
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
0.39->0.40 CLI migrate
command
#6839
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6839 +/- ##
==========================================
+ Coverage 55.11% 55.23% +0.11%
==========================================
Files 588 590 +2
Lines 36800 36914 +114
==========================================
+ Hits 20284 20390 +106
- Misses 14415 14420 +5
- Partials 2101 2104 +3 |
2ea1842
to
392c722
Compare
392c722
to
09307ad
Compare
@@ -116,10 +116,10 @@ message ValidatorSlashEventRecord { | |||
]; | |||
uint64 height = 2; | |||
uint64 period = 3; | |||
ValidatorSlashEvent event = 4 [ | |||
ValidatorSlashEvent validator_slash_event = 4 [ |
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.
This was validator_slash_event
in v0.39
Event ValidatorSlashEvent `json:"validator_slash_event" yaml:"validator_slash_event"` |
don't want to create a migrate script for this
I tried updating a |
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, but I don't know if we cover everything.
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.
utACK
Description
closes: #6751
What I did: checked out tag
v0.39.0
, looked into allx/**/types/genesis.go
structs , and compared them to latest master's genesis structs (defined in proto files).Also:
Migrate
functions now take aclient.Context
. It's only use in 0.40, to decide which JSON (amino or proto) to output.Update needed for:
If you can think of other genesis state's that I might have forgot, please shout.
depends on:
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