Skip to content

Commit

Permalink
use 0.20 to avoid spam
Browse files Browse the repository at this point in the history
  • Loading branch information
ttl33 committed Oct 19, 2023
1 parent 79b327c commit df86a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions protocol/scripts/genesis/prod_pregenesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function overwrite_genesis_production() {
dasel put -t string -f "$GENESIS" '.app_state.gov.params.quorum' -v '0.33400' # 33.4%
dasel put -t string -f "$GENESIS" '.app_state.gov.params.threshold' -v '0.50000' # 50%
dasel put -t string -f "$GENESIS" '.app_state.gov.params.veto_threshold' -v '0.33400' # 33.4%
dasel put -t string -f "$GENESIS" '.app_state.gov.params.min_initial_deposit_ratio' -v '0.20000' # 20%
dasel put -t bool -f "$GENESIS" '.app_state.gov.params.burn_proposal_deposit_prevote' -v 'false'
dasel put -t bool -f "$GENESIS" '.app_state.gov.params.burn_vote_quorum' -v 'false'
dasel put -t bool -f "$GENESIS" '.app_state.gov.params.burn_vote_veto' -v 'true'
Expand Down
2 changes: 1 addition & 1 deletion protocol/testing/genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function edit_genesis() {
# reduced deposit period
dasel put -t string -f "$GENESIS" '.app_state.gov.params.max_deposit_period' -v '300s'
# reduced voting period
dasel put -t string -f "$GENESIS" '.app_state.gov.params.voting_period' -v '300s'
dasel put -t string -f "$GENESIS" '.app_state.gov.params.voting_period' -v '300s'

# Update staking module.
dasel put -t string -f "$GENESIS" '.app_state.staking.params.unbonding_time' -v '1814400s' # 21 days
Expand Down

0 comments on commit df86a3e

Please sign in to comment.