|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
timeout: 60
|
|
|
|
|
|
|
|
|
|
- name: Export NA_ADDRESS
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"1212\"[0].contracts.NitroAdjudicator.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.NitroAdjudicator.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nitro_directory }}"
|
|
|
|
|
register: na_address
|
|
|
|
@ -72,7 +72,7 @@
|
|
|
|
|
msg: "NA_ADDRESS: {{ na_address.stdout }}"
|
|
|
|
|
|
|
|
|
|
- name: Export CA_ADDRESS
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"1212\"[0].contracts.ConsensusApp.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.ConsensusApp.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nitro_directory }}"
|
|
|
|
|
register: ca_address
|
|
|
|
@ -80,7 +80,7 @@
|
|
|
|
|
msg: "CA_ADDRESS: {{ ca_address.stdout }}"
|
|
|
|
|
|
|
|
|
|
- name: Export VPA_ADDRESS
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"1212\"[0].contracts.VirtualPaymentApp.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.VirtualPaymentApp.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nitro_directory }}"
|
|
|
|
|
register: vpa_address
|
|
|
|
@ -88,16 +88,9 @@
|
|
|
|
|
msg: "VPA_ADDRESS: {{ vpa_address.stdout }}"
|
|
|
|
|
|
|
|
|
|
- name: Export L1_ASSET_ADDRESS
|
|
|
|
|
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"1212\"[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.address' /app/deployment/nitro-addresses.json"
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nitro_directory }}"
|
|
|
|
|
register: l1_asset_address
|
|
|
|
|
- debug:
|
|
|
|
|
msg: "L1_ASSET_ADDRESS: {{ l1_asset_address.stdout }}"
|
|
|
|
|
|
|
|
|
|
- name: Set contract addresses
|
|
|
|
|
set_fact:
|
|
|
|
|
na_address: "{{ na_address.stdout }}"
|
|
|
|
|
ca_address: "{{ ca_address.stdout }}"
|
|
|
|
|
vpa_address: "{{ vpa_address.stdout }}"
|
|
|
|
|
l1_asset_address: "{{ l1_asset_address.stdout }}"
|
|
|
|
|