Skip to content

Commit

Permalink
chore: increment handler for v12.2.0 (#1673)
Browse files Browse the repository at this point in the history
Co-authored-by: Tanmay <[email protected]>
  • Loading branch information
lumtis and kingpinXD authored Jan 31, 2024
1 parent 54b7a92 commit 6c9afe0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/upgrade/types"
observerTypes "github.com/zeta-chain/zetacore/x/observer/types"
)

const releaseVersion = "v12.1.0"
const releaseVersion = "v12.2.0"

func SetupHandlers(app *App) {
app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm module.VersionMap) (module.VersionMap, error) {
Expand All @@ -17,7 +16,6 @@ func SetupHandlers(app *App) {
for m, mb := range app.mm.Modules {
vm[m] = mb.ConsensusVersion()
}
vm = VersionMigrator{vm}.TriggerMigration(observerTypes.ModuleName)

return app.mm.RunMigrations(ctx, app.configurator, vm)
})
Expand Down

0 comments on commit 6c9afe0

Please sign in to comment.