From f44d7cc94d50d482c06ce2239dd692cdd5bc67cd Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Mon, 6 May 2024 15:26:24 +0800 Subject: [PATCH] update max validator count --- networks/testnet/init-genesis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networks/testnet/init-genesis.sh b/networks/testnet/init-genesis.sh index 2f3854af..67a624e7 100755 --- a/networks/testnet/init-genesis.sh +++ b/networks/testnet/init-genesis.sh @@ -73,7 +73,7 @@ for ((i=0; i<$NUM_NODES; i++)) do # cat "$GENESIS" | jq '.app_state["staking"]["params"]["bond_denom"]="a0gi"' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" # cat "$GENESIS" | jq '.app_state["gov"]["params"]["min_deposit"][0]["denom"]="a0gi"' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" - cat "$GENESIS" | jq '.app_state["staking"]["params"]["max_validators"]=200' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" + cat "$GENESIS" | jq '.app_state["staking"]["params"]["max_validators"]=125' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" cat "$GENESIS" | jq '.app_state["slashing"]["params"]["signed_blocks_window"]="1000"' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" cat "$GENESIS" | jq '.app_state["consensus_params"]["block"]["time_iota_ms"]="3000"' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"