diff --git a/app/upgrade/v3/upgrade.go b/app/upgrade/v3/upgrade.go index 086932683..8c17a9037 100644 --- a/app/upgrade/v3/upgrade.go +++ b/app/upgrade/v3/upgrade.go @@ -161,9 +161,9 @@ func New( // TODO(new-gov-params): Discuss new values for the following params with the team and set here & inside genesis.v3.json. // min_initial_deposit_ratio, burn_vote_quorum, burn_proposal_deposit_prevote, burn_vote_veto govParams := govKeeper.GetParams(ctx) - govParams.MinInitialDepositRatio = sdk.NewDec(0).Quo(sdk.NewDec(100)).String() + govParams.MinInitialDepositRatio = sdk.NewDec(50).Quo(sdk.NewDec(100)).String() govParams.BurnVoteQuorum = false - govParams.BurnProposalDepositPrevote = false + govParams.BurnProposalDepositPrevote = true govParams.BurnVoteVeto = true if err := govKeeper.SetParams(ctx, govParams); err != nil { return nil, err diff --git a/integration-tests/upgrade/params_migration_test.go b/integration-tests/upgrade/params_migration_test.go index e3f701d15..35bd8d888 100644 --- a/integration-tests/upgrade/params_migration_test.go +++ b/integration-tests/upgrade/params_migration_test.go @@ -169,9 +169,9 @@ func (pmt *paramsMigrationTest) After(t *testing.T) { Quorum: pmt.govParamsBeforeMigration.TallyParams.Quorum.String(), Threshold: pmt.govParamsBeforeMigration.TallyParams.Threshold.String(), VetoThreshold: pmt.govParamsBeforeMigration.TallyParams.VetoThreshold.String(), - MinInitialDepositRatio: sdk.ZeroDec().String(), + MinInitialDepositRatio: sdk.MustNewDecFromStr("0.5").String(), BurnVoteQuorum: false, - BurnProposalDepositPrevote: false, + BurnProposalDepositPrevote: true, BurnVoteVeto: true, } assertT.Equal(paramsBeforeMigration, govParams)