From 7fa197bd1932c4d781d6819d7a35186cdf17c2e7 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 18 Oct 2024 12:39:49 +0530 Subject: [PATCH] Update asset address export step in Nitro setup --- nitro-contracts-setup/README.md | 6 +++--- nitro-contracts-setup/deploy-contracts.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nitro-contracts-setup/README.md b/nitro-contracts-setup/README.md index 6e3c95d..3110b27 100644 --- a/nitro-contracts-setup/README.md +++ b/nitro-contracts-setup/README.md @@ -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 diff --git a/nitro-contracts-setup/deploy-contracts.yml b/nitro-contracts-setup/deploy-contracts.yml index c46bd6a..4a8c9bc 100644 --- a/nitro-contracts-setup/deploy-contracts.yml +++ b/nitro-contracts-setup/deploy-contracts.yml @@ -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