From ed3390991ed959d2c9ff8cbc8a812e4b53427135 Mon Sep 17 00:00:00 2001 From: Matthew Witkowski Date: Mon, 11 Sep 2023 10:33:17 -0400 Subject: [PATCH] Add linter fix for populating new param with deprecated param. --- app/upgrades.go | 1 + 1 file changed, 1 insertion(+) 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")