Skip to content

Commit

Permalink
adding migration for v12.1.9-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Aug 22, 2024
1 parent 181067f commit 37d9d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,14 +856,14 @@ func NewBridge(
},
)

if upgradeInfo.Name == "v12.1.9-rc2" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
if upgradeInfo.Name == "v12.1.9-rc3" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storetypes.StoreUpgrades{
Added: []string{bridgetypes.ModuleName},
}))
}

app.UpgradeKeeper.SetUpgradeHandler(
"v12.1.9-rc2",
"v12.1.9-rc3",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
app.BridgeKeeper.SetParams(ctx, bridgetypes.Params{
ModuleAdmin: "bridge1ykcl8yncutg8z8hr8fct043rx56j5a9ennk7dy",
Expand Down

0 comments on commit 37d9d04

Please sign in to comment.