Skip to content

Commit

Permalink
Merge pull request #91 from comdex-official/feature/mainnet_release
Browse files Browse the repository at this point in the history
change the version name for upgrade in mainnet
  • Loading branch information
dheerajkd30 authored Feb 18, 2022
2 parents c0a9b99 + 4b72386 commit cb5a01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string {
}
}
func (app *App) registerUpgradeHandlers() {
app.upgradeKeeper.SetUpgradeHandler("v0.1.0", func(ctx sdk.Context, plan upgradetypes.Plan, _ module.VersionMap) (module.VersionMap, error) {
app.upgradeKeeper.SetUpgradeHandler("v0.1.1", func(ctx sdk.Context, plan upgradetypes.Plan, _ module.VersionMap) (module.VersionMap, error) {
// 1st-time running in-store migrations, using 1 as fromVersion to
// avoid running InitGenesis.
fromVM := map[string]uint64{
Expand Down Expand Up @@ -698,7 +698,7 @@ func (app *App) registerUpgradeHandlers() {
if err != nil {
panic(err)
}
if upgradeInfo.Name == "v0.1.0" && !app.upgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
if upgradeInfo.Name == "v0.1.1" && !app.upgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{wasmtypes.ModuleName},
}
Expand Down

0 comments on commit cb5a01b

Please sign in to comment.