Skip to content

Commit

Permalink
Merge pull request #337 from uabjabborov/add_upgrade_handler
Browse files Browse the repository at this point in the history
Set upgrade handler for dcld v0.10.0
  • Loading branch information
ashcherbakov committed Apr 20, 2022
2 parents f998ddc + a028357 commit 6e6874d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,13 @@ func New(
*/
// this line is used by starport scaffolding # stargate/app/beforeInitReturn

app.UpgradeKeeper.SetUpgradeHandler(
"v0.10.0",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return make(module.VersionMap), nil
},
)

return app
}

Expand Down

0 comments on commit 6e6874d

Please sign in to comment.