Skip to content
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

Merged
merged 6 commits into from
Dec 15, 2022
Merged

Conversation

0xHansLee
Copy link
Contributor

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.

Comment on lines +710 to +713

// set module version map
// https://docs.cosmos.network/main/core/upgrade#genesis-state
app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap())
Copy link
Contributor Author

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.

Copy link
Contributor

@gyuguen gyuguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Copy link
Contributor

@audtlr24 audtlr24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

Copy link

@inchori inchori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0xHansLee 0xHansLee merged commit b57b998 into main Dec 15, 2022
@0xHansLee 0xHansLee deleted the ft/na/v2.1.0-upgrade-handler branch December 15, 2022 07:20
audtlr24 pushed a commit that referenced this pull request Dec 26, 2022
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants