Update asset address export step in Nitro setup

This commit is contained in:
Prathamesh Musale 2024-10-18 12:39:49 +05:30
parent dc1d9daab7
commit 7fa197bd19
2 changed files with 4 additions and 4 deletions

View File

@ -27,9 +27,9 @@ The following commands have to be executed in the [`nitro-contracts-setup`](./)
geth_deployer_pk: ""
# Custom L1 token to be deployed
token_name: "LaconicNetworkToken"
token_symbol: "LNT"
initial_token_supply: "129600"
token_name: "TestToken"
token_symbol: "TST"
initial_token_supply: "100000"
```
## Deploy Contracts

View File

@ -85,7 +85,7 @@
msg: "VPA_ADDRESS: {{ vpa_address.stdout }}"
- name: Export ASSET_ADDRESS
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.Token.address' /app/deployment/nitro-addresses.json"
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.{{ token_name }}.address' /app/deployment/nitro-addresses.json"
args:
chdir: "{{ nitro_directory }}"
register: asset_address