-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add TimeIotaMs to export GenesisFile #6510
Conversation
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 -- thanks @jgimeno :D
…os-sdk into jonathan/export-time-genesis
@alexanderbez is it worth to have a test for this? |
Codecov Report
@@ Coverage Diff @@
## master #6510 +/- ##
=======================================
Coverage 56.36% 56.36%
=======================================
Files 470 470
Lines 28234 28234
=======================================
Hits 15913 15913
Misses 11195 11195
Partials 1126 1126 |
@jgimeno yes, good idea. I would extract out the logic that updates the doc and just verify the consensus params 👍 |
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
return nil | ||
}, | ||
} | ||
|
||
cmd.Flags().Int64(flagHeight, -1, "Export state from a particular height (-1 means latest height)") | ||
cmd.Flags().Bool(flagForZeroHeight, false, "Export state to start at height zero (perform preproccessing)") | ||
cmd.Flags().StringSlice(flagJailWhitelist, []string{}, "List of validators to not jail state export") | ||
cmd.SetOut(cmd.OutOrStdout()) |
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.
We should try find a way to automatically call Set{Err,Out} for all commands at some point.
Description
Before we did not include the field time_iota_ms into the genesis file while exporting, now we do.
closes: ##6446
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 explorer