Skip to content

Commit

Permalink
"indica" codename for Cosmovisor update process
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal authored Aug 19, 2021
1 parent 473a66d commit 2f09bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ func New(
app.GetSubspace(crisistypes.ModuleName), invCheckPeriod, app.BankKeeper, authtypes.FeeCollectorName,
)
app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath)

app.UpgradeKeeper.SetUpgradeHandler("indica", func(ctx sdk.Context, plan upgradetypes.Plan) {
// Nothing to-do, only the Tendermint v.0.34.12
})
// register the staking hooks
// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
app.StakingKeeper = *stakingKeeper.SetHooks(
Expand Down

0 comments on commit 2f09bdb

Please sign in to comment.