-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: add v2.1.0 upgrade handler #552
Conversation
|
||
// set module version map | ||
// https://docs.cosmos.network/main/core/upgrade#genesis-state | ||
app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap()) |
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 should have been added in the previous upgrade(v2.0.5).
It's for set module version map when initializing chain.
No effect on this upgrade.
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.
Thank you
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, Thanks!
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
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
Added an upgrade handler for v2.1.0(maybe) by referring to the guide.
Tested upgrade successfully and genesis state of oracle and module params.