mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
Merge pull request #47 from 0g-wh/voting-300s
set voting period to 300s for devnet
This commit is contained in:
commit
ea08d540d9
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,7 +39,6 @@ build/darwin
|
||||
build/linux
|
||||
|
||||
# Ignore deploy outputs
|
||||
networks/devnet
|
||||
networks/testnet
|
||||
|
||||
# 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["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
|
||||
|
Loading…
Reference in New Issue
Block a user