From cb300d81411b64682d0a143e5ec323f4cfec23c5 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Mon, 18 Sep 2023 08:41:04 -0400 Subject: [PATCH] docs: consistent format for percentages in params.md (#2492) Closes https://github.com/celestiaorg/celestia-app/issues/2479 --- specs/src/specs/params.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index 3c347462..d808d224 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -27,25 +27,25 @@ are blocked by the `x/paramfilter` module. | consensus.evidence.MaxBytes | 1MiB | Maximum size in bytes used by evidence in a given block. | True | | consensus.validator.PubKeyTypes | Ed25519 | The type of public key used by validators. | False | | consensus.Version.AppVersion | 1 | Determines protocol rules used for a given height. Incremented by the application upon an upgrade. | False | -| distribution.CommunityTax | 2.0% | Percentage of the inflation sent to the community pool. | True | +| distribution.CommunityTax | 0.02 (2%) | Percentage of the inflation sent to the community pool. | True | | 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.MaxDepositPeriod | 172800 (2 days) | Maximum period for token holders to deposit on a proposal in seconds. | True | | gov.VotingParams.VotingPeriod | 172800 (2 days) | Duration of the voting period in seconds. | True | -| gov.TallyParams.Quorum | 33.4% | Minimum percentage of total stake needed to vote for a result to be considered valid. | True | -| gov.TallyParams.Threshold | 50.0% | Minimum proportion of Yes votes for proposal to pass. | True | -| gov.TallyParams.VetoThreshold | 33.4% | Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. | True | +| gov.TallyParams.Quorum | 0.334 (33.4%) | Minimum percentage of total stake needed to vote for a result to be considered valid. | True | +| gov.TallyParams.Threshold | 0.50 (50%) | Minimum proportion of Yes votes for proposal to pass. | True | +| gov.TallyParams.VetoThreshold | 0.334 (33.4%) | Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. | True | | ibc.ClientGenesis.AllowedClients | []string{"06-solomachine", "07-tendermint"} | List of allowed IBC light clients. | True | | ibc.ConnectionGenesis.MaxExpectedTimePerBlock | 7500000000000 (75 seconds) | Maximum expected time per block in nanoseconds under normal operation. | True | | ibc.Transfer.SendEnabled | true | Enable sending tokens via IBC. | True | | ibc.Transfer.ReceiveEnabled | true | Enable receiving tokens via IBC. | True | | slashing.SignedBlocksWindow | 5000 | The range of blocks used to count for downtime. | True | -| slashing.MinSignedPerWindow | 75.0% | The percentage of SignedBlocksWindow that must be signed not to get jailed. | True | +| slashing.MinSignedPerWindow | 0.75 (75%) | The percentage of SignedBlocksWindow that must be signed not to get jailed. | True | | slashing.DowntimeJailDuration | 1 min | Duration of time a validator must stay jailed. | True | -| slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for double signing. | True | -| slashing.SlashFractionDowntime | 0.0% | Percentage slashed after a validator is jailed for downtime. | True | +| slashing.SlashFractionDoubleSign | 0.05 (5%) | Percentage slashed after a validator is jailed for double signing. | True | +| slashing.SlashFractionDowntime | 0.00 (0%) | Percentage slashed after a validator is jailed for downtime. | True | | staking.UnbondingTime | 1814400 (21 days) | Duration of time for unbonding in seconds. | False | | staking.MaxValidators | 100 | Maximum number of validators. | False | | staking.MaxEntries | 7 | Maximum number of entries in the redelegation queue. | True | @@ -53,6 +53,6 @@ are blocked by the `x/paramfilter` module. | staking.BondDenom | utia | Bondable coin denomination. | False | | staking.MinCommissionRate | 0.05 (5%) | Minimum commission rate used by all validators. | True | | mint.BondDenom | utia | Denomination that is inflated and sent to the distribution module account. | False | -| mint.InflationRateChange | 10.0% | The rate at which the annual provisions decrease each year. | False | -| mint.InflationRate | 8.0% | Initial annual inflation rate used to calculate the annual provisions. | False | +| mint.InflationRateChange | 0.10 (10%) | The rate at which the annual provisions decrease each year. | False | +| mint.InflationRate | 0.08 (8%) | Initial annual inflation rate used to calculate the annual provisions. | False | | qgb.DataCommitmentWindow | 400 | Number of blocks that are included in a signed batch (DataCommitment). | True |