Update asset address export step in Nitro setup
This commit is contained in:
parent
dc1d9daab7
commit
7fa197bd19
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user