diff --git a/scripts/add_vesting_accounts_to_genesis_file.sh b/scripts/add_vesting_accounts_to_genesis_file.sh index ad3a5ba..b9de0bd 100644 --- a/scripts/add_vesting_accounts_to_genesis_file.sh +++ b/scripts/add_vesting_accounts_to_genesis_file.sh @@ -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 diff --git a/scripts/update_genesis_file.sh b/scripts/update_genesis_file.sh index ed16c44..af5c794 100755 --- a/scripts/update_genesis_file.sh +++ b/scripts/update_genesis_file.sh @@ -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)