Skip to content

Commit

Permalink
fix: add missing v2.0.7 upgrade handler (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjoon-lee committed Apr 11, 2023
1 parent 5249704 commit ae0f038
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitbook/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ please clone the `panacea-core` project and build it.

```bash
# Make sure to checkout the correct branch.
git clone -b v2.0.6 https://github.com/medibloc/panacea-core
git clone -b v2.0.7-1 https://github.com/medibloc/panacea-core
cd panacea-core
make install # All binaries are installed in $GOPATH/bin
```
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@

TDB

## [v2.0.7-1](https://github.com/medibloc/panacea-core/releases/tag/v2.0.7-1) - 2023-04-11

### Bug fixes

- [\#661](https://github.com/medibloc/panacea-core/pull/661) fix: add missing v2.0.7 upgrade handler


## [v2.0.7](https://github.com/medibloc/panacea-core/releases/tag/v2.0.7) - 2023-04-04

### Bug fixes

- [\#367](https://github.com/medibloc/panacea-core/pull/659) Add missing ibc route and ibc client settings
- [\#659](https://github.com/medibloc/panacea-core/pull/659) Add missing ibc route and ibc client settings


## [v2.0.6](https://github.com/medibloc/panacea-core/releases/tag/v2.0.6) - 2023-02-27
Expand Down
4 changes: 4 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,10 @@ func (app *App) registerUpgradeHandlers() error {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})

app.UpgradeKeeper.SetUpgradeHandler("v2.0.7", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})

upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
if err != nil {
return err
Expand Down

0 comments on commit ae0f038

Please sign in to comment.