Skip to content

Commit

Permalink
Merge pull request #385 from hypersign-protocol/hotfix/remove-old-upg…
Browse files Browse the repository at this point in the history
…rade-handlers

hotfix: removed old upgrade handlers
  • Loading branch information
arnabghose997 authored Dec 10, 2023
2 parents 48aa0af + f863aeb commit 2cbbdd6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,16 +424,6 @@ func NewHypersignApp(

app.FeeGrantKeeper = feegrantkeeper.NewKeeper(appCodec, keys[feegrant.StoreKey], app.AccountKeeper)

app.UpgradeKeeper.SetUpgradeHandler("v019", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("v0.1.9 upgrade")
return fromVM, nil
})

app.UpgradeKeeper.SetUpgradeHandler("v0110", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("v0.1.10 upgrade")
return fromVM, nil
})

// register the staking hooks
// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
app.StakingKeeper.SetHooks(
Expand Down

0 comments on commit 2cbbdd6

Please sign in to comment.