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: [v2.0.x] upgrade cosmos-sdk to v0.45.4 #466

Merged
merged 4 commits into from
Oct 19, 2022

Conversation

youngjoon-lee
Copy link
Contributor

@youngjoon-lee youngjoon-lee commented Oct 16, 2022

This PR is supposed to be merged to the release/v2.0.x branch, and be released with the tag v2.0.5 after some additional PRs are merged as well.

Just cherry-picked from 664d546

TODO: should be tested if the chain can be upgraded smoothly from 2.0.3 to 2.0.5 without hard forks

@youngjoon-lee youngjoon-lee changed the title [v2.0.x] upgrade cosmos-sdk to v0.45.4 feat: [v2.0.x] upgrade cosmos-sdk to v0.45.4 Oct 16, 2022
// registerUpgradeHandlers registers upgrade handlers, and sets the store loader if necessary.
// This function must be called before sealing the BaseApp (i.e. by app.LoadLatestVersion())
// because the storetypes loader cannot be set if BaseApp is already sealed.
func (app *App) registerUpgradeHandlers() error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we upgrade our mainnet to v2.0.5 with this upgrade handler, I think we must remove the upgrade handler in the master branch which is similar as this.

@youngjoon-lee youngjoon-lee marked this pull request as ready for review October 17, 2022 02:45
app/app.go Outdated Show resolved Hide resolved
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.

LGTM

@0xHansLee
Copy link
Contributor

When upgrading to v0.45.9, configuration for grpc web is added to app.toml.
If needed, we may have to give some guide for that.

@youngjoon-lee
Copy link
Contributor Author

When upgrading to v0.45.9, configuration for grpc web is added to app.toml.
If needed, we may have to give some guide for that.

Yeah. I'll put a note in the gov proposal, that the grpc-web will be enabled by default.

Copy link
Contributor

@0xHansLee 0xHansLee left a comment

Choose a reason for hiding this comment

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

lgtm

@youngjoon-lee youngjoon-lee merged commit 44a2886 into release/v2.0.x Oct 19, 2022
@youngjoon-lee youngjoon-lee deleted the ft/na/v2.0.5-cosmos-sdk-v0.45 branch October 19, 2022 02:01
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.

3 participants