Skip to content

Commit

Permalink
adding v1.1.2 upgrade info
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed May 27, 2024
1 parent eef6069 commit 2d2c962
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,17 @@ func New(
},
)

app.UpgradeKeeper.SetUpgradeHandler(
"v1.1.2-rc0",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
params := app.FeeMarketKeeper.GetParams(ctx)
params.BaseFee = sdk.NewIntFromUint64(0)
params.NoBaseFee = true
app.FeeMarketKeeper.SetParams(ctx, params)
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
},
)

if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down

0 comments on commit 2d2c962

Please sign in to comment.