diff --git a/app/upgrades/v3/upgrade_test.go b/app/upgrades/v3/upgrade_test.go index 67a37ca06..5f152a474 100644 --- a/app/upgrades/v3/upgrade_test.go +++ b/app/upgrades/v3/upgrade_test.go @@ -101,7 +101,8 @@ func (s *UpgradeTestSuite) TestUpgrade() { return fmt.Errorf("sequencer parameters not set correctly") } - // These fields are deleted in the next update + // These fields are deleted in the v4 update. Intentionally leave the commented code + // here for historical reference. // Check Incentives parameters //if !incentivestypes.CreateGaugeFee.Equal(expectCreateGaugeFee) || !incentivestypes.AddToGaugeFee.Equal(expectAddToGaugeFee) { // return fmt.Errorf("incentives parameters not set correctly") diff --git a/app/upgrades/v4/upgrade.go b/app/upgrades/v4/upgrade.go index c4a3e1b5e..c8a14893f 100644 --- a/app/upgrades/v4/upgrade.go +++ b/app/upgrades/v4/upgrade.go @@ -181,6 +181,8 @@ func migrateIncentivesParams(ctx sdk.Context, ik *incentiveskeeper.Keeper) { defaultParams := incentivestypes.DefaultParams() params.CreateGaugeFee = defaultParams.CreateGaugeFee params.AddToGaugeFee = defaultParams.AddToGaugeFee + params.BaseGasFeeForCreateGauge = defaultParams.BaseGasFeeForCreateGauge + params.BaseGasFeeForAddRewardToGauge = defaultParams.BaseGasFeeForAddRewardToGauge ik.SetParams(ctx, params) }