Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewozniak committed Oct 3, 2024
1 parent f2ed988 commit 301992a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (app *App) registerUpgrade0_1_4(_ upgradetypes.Plan) {
)
}

// nolint: all
//nolint: all
func (app *App) registerUpgrade0_2_0(upgradeInfo upgradetypes.Plan) {
const planName = "v0.2.0"

Expand Down Expand Up @@ -343,8 +343,6 @@ func (app *App) registerUpgrade0_5_0(upgradeInfo upgradetypes.Plan) {
sdkCtx := sdk.UnwrapSDKContext(ctx)
sdkCtx.Logger().Info("Upgrade handler execution", "name", planName)

// Add this line to set the initial version for the new module
fromVM[gasestimatetypes.ModuleName] = 1
params := app.GmpKeeper.GetParams(sdkCtx)
params.DefaultGasEstimate = gmptypes.DefaultParams().DefaultGasEstimate
app.GmpKeeper.SetParams(sdkCtx, params)
Expand Down

0 comments on commit 301992a

Please sign in to comment.