mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
set voting period to 300s for devnet
This commit is contained in:
parent
90e0e496f9
commit
3ec4f42f6b
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,7 +39,6 @@ build/darwin
|
|||||||
build/linux
|
build/linux
|
||||||
|
|
||||||
# Ignore deploy outputs
|
# Ignore deploy outputs
|
||||||
networks/devnet
|
|
||||||
networks/testnet
|
networks/testnet
|
||||||
|
|
||||||
# Go workspace files
|
# Go workspace files
|
||||||
|
@ -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["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["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
|
# Change app.toml
|
||||||
APP_TOML="$HOMEDIR"/config/app.toml
|
APP_TOML="$HOMEDIR"/config/app.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user