Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/sided/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func initAppConfig() (string, interface{}) {
// lru_size = 0`
customAppTemplate := serverconfig.DefaultConfigTemplate + `
[oracle]
# Validator node should set this to true
# If this node will act as a validator, set to true. For non-validator (full) nodes, set to false.
enable = true

bitcoin_rpc = ""
Expand Down
2 changes: 2 additions & 0 deletions scripts/local_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ if [[ $overwrite == "y" || $overwrite == "Y" ]]; then
jq --arg denom "${DENOMS[0]}" '.app_state["crisis"]["constant_fee"]["denom"]=$denom' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"
jq --arg denom "${DENOMS[0]}" '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom"]=$denom' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"
jq --arg denom "${DENOMS[0]}" '.app_state["gov"]["params"]["min_deposit"][0]["denom"]=$denom' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"
jq --argjson parts '["zDvxJmKTMThNIgebwh4UKSfTbY2F42I/3/NLK6mqpVQ=","PBG7W03PMbtz3hs98yNzq8BZPEXZ3hLzMWcb57ioNV0=","s0+II5UGAq0vSvYUY1vdy8Sp5Mrdew+7H4pZG+eQJII="]' '.app_state["tss"]["params"]["allowed_dkg_participants"]=$parts' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"

# Set consensus params in genesis

jq --arg max_gas "$MAX_GAS" '.consensus["params"]["block"]["max_gas"]=$max_gas' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"
jq --arg height "3" '.consensus["params"]["abci"]["vote_extensions_enable_height"]=$height' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS"

Expand Down