Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix init script typos #136

Merged
merged 1 commit into from
Apr 4, 2024
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
8 changes: 4 additions & 4 deletions scripts/add_vesting_accounts_to_genesis_file.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
rollapp_evm keys add three-year-vester --keyring-backend test
rollapp_evm add-genesis-account three-year-vester \
10000000000000000000000a${BASE_DENOM} --keyring-backend test \
--vesting-amount 10000000000000000000000a${BASE_DENOM} \
10000000000000000000000${BASE_DENOM} --keyring-backend test \
--vesting-amount 10000000000000000000000${BASE_DENOM} \
--vesting-end-time 1805902584

rollapp_evm keys add two-year-vester-after-1-week --keyring-backend test
rollapp_evm add-genesis-account two-year-vester-after-1-week \
10000000000000000000000a${BASE_DENOM} --keyring-backend test \
--vesting-amount 10000000000000000000000a${BASE_DENOM} \
10000000000000000000000${BASE_DENOM} --keyring-backend test \
--vesting-amount 10000000000000000000000${BASE_DENOM} \
--vesting-end-time 1774366584 --vesting-start-time 1711985835
2 changes: 1 addition & 1 deletion scripts/update_genesis_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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 '.app_state.hubgenesis.hub.hub_id = "dymension_100-1"' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"
jq --arg hub_chain_id "$HUB_CHAIN_ID" '.app_state.hubgenesis.hub.hub_id = $hub_chain_id' "$GENESIS_FILE" >"$tmp" && mv "$tmp" "$GENESIS_FILE"

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