Skip to content

Commit

Permalink
fix: Added v3.1 upgrade handler definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Jan 9, 2025
1 parent e2d4851 commit 9ecdb15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,12 @@ func (app *App) RegisterUpgradeHandlers() {
return migrations, nil
},
)
app.UpgradeKeeper.SetUpgradeHandler(
"v3.1",
func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.ModuleManager.RunMigrations(ctx, app.Configurator(), fromVM)
},
)
}

// configure store loader that checks if version == upgradeHeight and applies store upgrades
Expand Down

0 comments on commit 9ecdb15

Please sign in to comment.