Skip to content

Commit

Permalink
rename upgrade handler from v0.9.0 to v0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kstoykov committed Nov 14, 2022
1 parent 6fba78d commit cf81765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func New(
)
app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp)

app.UpgradeKeeper.SetUpgradeHandler("v0.9.0", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
app.UpgradeKeeper.SetUpgradeHandler("v0.9", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ss, ok := app.ParamsKeeper.GetSubspace(cudoMinttypes.ModuleName)
if ok {
bpd := ss.GetRaw(ctx, []byte("BlocksPerDay"))
Expand Down

0 comments on commit cf81765

Please sign in to comment.