Skip to content

Commit

Permalink
update max validator count
Browse files Browse the repository at this point in the history
  • Loading branch information
0g-peterzhb committed May 6, 2024
1 parent 14e7e09 commit 2a1d44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion networks/testnet/init-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2a1d44c

Please sign in to comment.