Skip to content

Commit

Permalink
fix(local script): updated default genesis created on extended guide …
Browse files Browse the repository at this point in the history
…with EIP 3855 (#183)

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
omritoptix and github-actions authored Apr 26, 2024
1 parent ae76346 commit d201be4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
* **ci:** Add changelog log auto update workflow ([#176](https://github.com/dymensionxyz/rollapp-evm/issues/176)) ([f58feaa](https://github.com/dymensionxyz/rollapp-evm/commit/f58feaaea83b17d2258d1025a72c9b832922b7a9))


Check failure on line 23 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple consecutive blank lines [Expected: 1; Actual: 2]
### Reverts

* Revert "removed explorer" ([b72fbb7](https://github.com/dymensionxyz/rollapp-evm/commit/b72fbb767580436293151bf73174f77d891f3099))



Check failure on line 24 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple consecutive blank lines [Expected: 1; Actual: 3]
# [2.2.0-alpha](https://github.com/dymensionxyz/rollapp-evm/compare/v2.1.0-alpha...v2.2.0-alpha) (2024-03-26)

Check failure on line 25 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple top-level headings in the same document [Context: "# [2.2.0-alpha](https://github..."]

Expand Down
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 d201be4

Please sign in to comment.