From d7d3bbebd34d1f0a9c9192c89b2cd11ae300bb13 Mon Sep 17 00:00:00 2001 From: artemijspavlovs <19916123+artemijspavlovs@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:25:58 +0700 Subject: [PATCH] chore: update minimal genesis script to remove accounts --- scripts/minimal_update_genesis_params.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/minimal_update_genesis_params.sh b/scripts/minimal_update_genesis_params.sh index d28f8de..2033172 100755 --- a/scripts/minimal_update_genesis_params.sh +++ b/scripts/minimal_update_genesis_params.sh @@ -17,10 +17,14 @@ update_params() { dasel put -t bool -f "$GENESIS_FILE" 'app_state.feemarket.params.no_base_fee' -v false || success=false dasel put -f "$GENESIS_FILE" '.app_state.evm.params.extra_eips.[]' -v '3855' || success=false dasel put -f "$GENESIS_FILE" '.app_state.feemarket.params.min_gas_price' -v "10000000.0" || success=false - dasel put -f "$GENESIS_FILE" 'app_state.distribution.params.base_proposer_reward' -v '0.8' || success=false - dasel put -f "$GENESIS_FILE" 'app_state.distribution.params.community_tax' -v "0.00002" || success=false + dasel put -f "$GENESIS_FILE" '.app_state.distribution.params.base_proposer_reward' -v '0.8' || success=false + dasel put -f "$GENESIS_FILE" '.app_state.distribution.params.community_tax' -v "0.00002" || success=false + dasel put -f "$GENESIS_FILE" '.app_state.auth.accounts' -t json -r json -v '[]' || success=false # 2 weeks + dasel put -f "$GENESIS_FILE" '.app_state.bank.balances' -t json -r json -v '[]' || success=false # 2 weeks + dasel put -f "$GENESIS_FILE" '.app_state.genutil.gen_txs' -t json -r json -v '[]' || success=false # 2 weeks + # these vary depending on environment - dasel put -f "$GENESIS_FILE" 'app_state.gov.voting_params.voting_period' -v "300s" || success=false + dasel put -f "$GENESIS_FILE" '.app_state.gov.voting_params.voting_period' -v "300s" || success=false dasel put -f "$GENESIS_FILE" '.app_state.sequencers.params.unbonding_time' -v "1209600s" || success=false # 2 weeks dasel put -f "$GENESIS_FILE" '.app_state.staking.params.unbonding_time' -v "1209600s" || success=false # 2 weeks