Skip to content

Commit

Permalink
Updated with eip 3855
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix committed Apr 25, 2024
1 parent ae76346 commit f7a0b7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export EXECUTABLE="rollapp-evm"
export ROLLAPP_CHAIN_ID="rollappevm_1234-1"
export KEY_NAME_ROLLAPP="rol-user"
export BASE_DENOM="arax"
export BECH32="rol"
export BECH32="ethm"
export DENOM=$(echo "$BASE_DENOM" | sed 's/^.//')
export MONIKER="$ROLLAPP_CHAIN_ID-sequencer"

Expand Down
4 changes: 4 additions & 0 deletions scripts/update_genesis_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ jq --argjson elevated_address_json "$elevated_address_json" '.app_state.hubgenes
denom_metadata=$(cat "$ROLLAPP_SETTLEMENT_INIT_DIR_PATH"/denommetadata.json)
jq --argjson denom_metadata "$denom_metadata" '.app_state.bank.denom_metadata = $denom_metadata' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq --arg elevated_address "$elevated_address" '.app_state.denommetadata.params.allowed_addresses += [$elevated_address]' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"

# ----------------------------- update evm params ---------------------------- #

jq '.app_state.evm.params.extra_eips = [3855]' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"

0 comments on commit f7a0b7c

Please sign in to comment.