diff --git a/app/upgrades.go b/app/upgrades.go index 4ff80eebb1..0e477072a1 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -335,6 +335,7 @@ func setupICQ(ctx sdk.Context, app *App) { func updateMaxSupply(ctx sdk.Context, app *App) { ctx.Logger().Info("Updating MaxSupply marker param") params := app.MarkerKeeper.GetParams(ctx) + //nolint:staticcheck // Populate new param with deprecated param params.MaxSupply = math.NewIntFromUint64(params.MaxTotalSupply) app.MarkerKeeper.SetParams(ctx, params) ctx.Logger().Info("Done updating MaxSupply marker param")