Skip to content

Commit

Permalink
chore(local test): Change default max block size to 500k (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdv2429 authored May 7, 2024
1 parent 0d19241 commit cc5e19f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ set_denom() {
SKIP_BASE_FEE=${SKIP_EVM_BASE_FEE-false}

set_EVM_params() {
jq '.consensus_params["block"]["max_bytes"] = "500000"' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq '.consensus_params["block"]["max_gas"] = "400000000"' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq --arg skip "$SKIP_BASE_FEE" '.app_state["feemarket"]["params"]["no_base_fee"] = ($skip == "true")' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq '.app_state["feemarket"]["params"]["min_gas_price"] = "0.0"' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
Expand Down

0 comments on commit cc5e19f

Please sign in to comment.