From f2e5bce39ed30f0feb76974dd94f0781199240eb Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:59:20 +0000 Subject: [PATCH] chore: increase `MinDeposit` from 1K to 10K TIA (backport #2631) (#2660) This is an automatic backport of pull request #2631 done by [Mergify](https://mergify.com). ---
Mergify commands and options
More conditions and actions can be found in the [documentation](https://docs.mergify.com/). You can also trigger Mergify actions by commenting on this pull request: - `@Mergifyio refresh` will re-evaluate the rules - `@Mergifyio rebase` will rebase this PR on its base branch - `@Mergifyio update` will merge the base branch into this PR - `@Mergifyio backport ` will backport this PR on `` branch Additionally, on Mergify [dashboard](https://dashboard.mergify.com) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com
Co-authored-by: Chirag <56735482+Chirag018@users.noreply.github.com> --- app/default_overrides.go | 2 +- app/default_overrides_test.go | 2 +- specs/src/specs/params.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/default_overrides.go b/app/default_overrides.go index c2a9d6f199..c051ebc83d 100644 --- a/app/default_overrides.go +++ b/app/default_overrides.go @@ -161,7 +161,7 @@ func (govModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { day := time.Duration(time.Hour * 24) oneWeek := day * 7 - genState.DepositParams.MinDeposit = sdk.NewCoins(sdk.NewCoin(BondDenom, sdk.NewInt(1_000_000_000))) // 1000 TIA + genState.DepositParams.MinDeposit = sdk.NewCoins(sdk.NewCoin(BondDenom, sdk.NewInt(10_000_000_000))) // 10,000 TIA genState.DepositParams.MaxDepositPeriod = &oneWeek genState.VotingParams.VotingPeriod = &oneWeek diff --git a/app/default_overrides_test.go b/app/default_overrides_test.go index 314a78d8cf..f63fa8b655 100644 --- a/app/default_overrides_test.go +++ b/app/default_overrides_test.go @@ -25,7 +25,7 @@ func Test_newGovModule(t *testing.T) { want := []types.Coin{{ Denom: BondDenom, - Amount: types.NewInt(1000000000), + Amount: types.NewInt(10_000_000_000), }} assert.Equal(t, want, govGenesisState.DepositParams.MinDeposit) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index 529aa195cf..9e094741ce 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -31,7 +31,7 @@ are blocked by the `x/paramfilter` module. | distribution.WithdrawAddrEnabled | true | Enables delegators to withdraw funds to a different address. | True | | distribution.BaseProposerReward | 0 | Reward in the mint demonination for proposing a block. | True | | distribution.BonusProposerReward | 0 | Extra reward in the mint denomination for proposers based on the voting power included in the commit. | True | -| gov.DepositParams.MinDeposit | 1000000000utia (1000 TIA) | Minimum deposit for a proposal to enter voting period. | True | +| gov.DepositParams.MinDeposit | 10_000_000_000 utia (10,000 TIA) | Minimum deposit for a proposal to enter voting period. | True | | gov.DepositParams.MaxDepositPeriod | 604800000000000 (1 week) | Maximum period for token holders to deposit on a proposal in nanoseconds. | True | | gov.VotingParams.VotingPeriod | 604800000000000 (1 week) | Duration of the voting period in nanoseconds. | True | | gov.TallyParams.Quorum | 0.334 (33.4%) | Minimum percentage of total stake needed to vote for a result to be considered valid. | True |