diff --git a/app/upgrades/v3_0_2/upgrades.go b/app/upgrades/v3_0_2/upgrades.go index 7095d92b..a468f817 100644 --- a/app/upgrades/v3_0_2/upgrades.go +++ b/app/upgrades/v3_0_2/upgrades.go @@ -11,7 +11,7 @@ func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, ) upgradetypes.UpgradeHandler { - return func(ctx sdk.Context, _plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { return mm.RunMigrations(ctx, configurator, vm) } } diff --git a/app/upgrades/v4_1_0/upgrades.go b/app/upgrades/v4_1_0/upgrades.go index 3a9ac86b..1a155f89 100644 --- a/app/upgrades/v4_1_0/upgrades.go +++ b/app/upgrades/v4_1_0/upgrades.go @@ -36,7 +36,7 @@ func CreateUpgradeHandler( stakingKeeper stakingKeeper.Keeper, bankKeeper bankKeeper.Keeper, ) upgradetypes.UpgradeHandler { - return func(ctx sdk.Context, _plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { // READ: https://github.com/cosmos/cosmos-sdk/blob/v0.47.4/UPGRADING.md#xconsensus baseAppLegacySS := paramsKeeper.Subspace(baseapp.Paramspace). WithKeyTable(paramstypes.ConsensusParamsKeyTable())