Pass contract addresses as strings in vars files

This commit is contained in:
Adw8 2024-09-09 17:22:37 +05:30
parent 566072ff48
commit 67dc7e4235
4 changed files with 12 additions and 12 deletions

View File

@ -11,10 +11,10 @@ config:
TOKEN_NAME: {{ token_name }} TOKEN_NAME: {{ token_name }}
TOKEN_SYMBOL: {{ token_symbol }} TOKEN_SYMBOL: {{ token_symbol }}
INITIAL_TOKEN_SUPPLY: {{ intial_token_supply }} INITIAL_TOKEN_SUPPLY: {{ intial_token_supply }}
NA_ADDRESS: {{ na_address }} NA_ADDRESS: "{{ na_address }}"
VPA_ADDRESS: {{ vpa_address }} VPA_ADDRESS: "{{ vpa_address }}"
CA_ADDRESS: {{ ca_address }} CA_ADDRESS: "{{ ca_address }}"
L1_ASSET_ADDRESS: {{ l1_asset_address }} L1_ASSET_ADDRESS: "{{ l1_asset_address }}"
network: network:
ports: ports:
nitro-bridge: nitro-bridge:

View File

@ -1,3 +1,3 @@
target_host: "localhost" target_host: "localhost"
nitro_directory: ./out nitro_directory: out
skip_container_build: false skip_container_build: false

View File

@ -1,8 +1,8 @@
NITRO_CHAIN_URL={{ nitro_l1_chain_url }} NITRO_CHAIN_URL={{ nitro_l1_chain_url }}
NITRO_SC_PK={{ nitro_sc_pk }} NITRO_SC_PK={{ nitro_sc_pk }}
NITRO_CHAIN_PK={{ nitro_chain_pk }} NITRO_CHAIN_PK={{ nitro_chain_pk }}
NA_ADDRESS={{ na_address }} NA_ADDRESS="{{ na_address }}"
VPA_ADDRESS={{ vpa_address }} VPA_ADDRESS="{{ vpa_address }}"
CA_ADDRESS={{ ca_address }} CA_ADDRESS="{{ ca_address }}"
NITRO_BOOTPEERS={{ nitro_l1_bridge_multiaddr }} NITRO_BOOTPEERS={{ nitro_l1_bridge_multiaddr }}
NITRO_EXT_MULTIADDR={{ nitro_l1_ext_multiaddr }} NITRO_EXT_MULTIADDR={{ nitro_l1_ext_multiaddr }}

View File

@ -1,10 +1,10 @@
NITRO_CHAIN_URL={{ nitro_l2_chain_url }} NITRO_CHAIN_URL={{ nitro_l2_chain_url }}
NITRO_SC_PK={{ nitro_sc_pk }} NITRO_SC_PK={{ nitro_sc_pk }}
NITRO_CHAIN_PK={{ nitro_chain_pk }} NITRO_CHAIN_PK={{ nitro_chain_pk }}
NA_ADDRESS={{ na_address }} NA_ADDRESS="{{ na_address }}"
VPA_ADDRESS={{ vpa_address }} VPA_ADDRESS="{{ vpa_address }}"
CA_ADDRESS={{ ca_address }} CA_ADDRESS="{{ ca_address }}"
BRIDGE_ADDRESS={{ bridge_contract_address }} BRIDGE_ADDRESS="{{ bridge_contract_address }}"
NITRO_BOOTPEERS={{ nitro_l2_bridge_multiaddr }} NITRO_BOOTPEERS={{ nitro_l2_bridge_multiaddr }}
NITRO_EXT_MULTIADDR={{ nitro_l2_ext_multiaddr }} NITRO_EXT_MULTIADDR={{ nitro_l2_ext_multiaddr }}
NITRO_L2=true NITRO_L2=true