Skip to content

Commit

Permalink
chore(local setup): update the script to new hub-genesis param name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix authored Apr 14, 2024
1 parent 4fe8554 commit 0444167
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ It uses Cosmos-SDK's [simapp](https://github.com/cosmos/cosmos-sdk/tree/main/sim

**Note**: Requires [Go 1.22.1](https://go.dev/dl/)


## Installing / Getting started

Build and install the ```rollapp-evm``` binary:
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_genesis_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ elevated_address_json=$(jq -n \
'[{
"address": $address
}]')
jq --argjson elevated_address_json "$elevated_address_json" '.app_state.hubgenesis.params.genesis_triggerer_whitelist += $elevated_address_json' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq --argjson elevated_address_json "$elevated_address_json" '.app_state.hubgenesis.params.genesis_triggerer_allowlist += $elevated_address_json' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"

# ---------------------------- add denom metadata ---------------------------- #
denom_metadata=$(cat "$ROLLAPP_SETTLEMENT_INIT_DIR_PATH"/denommetadata.json)
Expand Down

0 comments on commit 0444167

Please sign in to comment.