set voting period to 300s for devnet

This commit is contained in:
0g-wh 2024-07-29 15:50:29 +08:00
parent 6d55c07e6b
commit cc20cfaf5c
2 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View File

@ -39,7 +39,6 @@ build/darwin
build/linux
# Ignore deploy outputs
networks/devnet
networks/testnet
# Go workspace files

View File

@ -80,6 +80,7 @@ for ((i=0; i<$NUM_NODES; i++)) do
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"
cat "$GENESIS" | jq '.app_state.gov.voting_params.voting_period = "300s"' >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"
# Change app.toml
APP_TOML="$HOMEDIR"/config/app.toml