Skip to content

Commit

Permalink
apply to dev/staging genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
ttl33 committed Oct 19, 2023
1 parent 0cc97cc commit 04ac666
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocol/testing/genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ function edit_genesis() {
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'
# set initial deposit ratio to prevent spamming
dasel put -t string -f "$GENESIS" '.app_state.gov.params.min_initial_deposit_ratio' -v '0.20000' # 20%

# 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 04ac666

Please sign in to comment.