From 6137c1b97753082cda26987afda4f2a628050db5 Mon Sep 17 00:00:00 2001 From: Neeraj Date: Wed, 11 Sep 2024 17:41:08 +0530 Subject: [PATCH] Increase wait timeout for contract deployments --- nitro-bridge-setup/run-nitro-bridge.yml | 2 +- nitro-contracts-setup/deploy-contracts.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nitro-bridge-setup/run-nitro-bridge.yml b/nitro-bridge-setup/run-nitro-bridge.yml index e601abc..d9d33b4 100644 --- a/nitro-bridge-setup/run-nitro-bridge.yml +++ b/nitro-bridge-setup/run-nitro-bridge.yml @@ -62,7 +62,7 @@ wait_for: path: "{{ nitro_directory }}/bridge-deployment/data/nitro_deployment/nitro-addresses.json" state: present - timeout: 60 + timeout: 180 - name: Print BRIDGE_ADDRESS shell: laconic-so deployment --dir bridge-deployment exec nitro-bridge "jq -r '.\"{{ optimism_chain_id }}\"[0].contracts.Bridge.address' /app/deployment/nitro-addresses.json" diff --git a/nitro-contracts-setup/deploy-contracts.yml b/nitro-contracts-setup/deploy-contracts.yml index 587495e..e5c9c29 100644 --- a/nitro-contracts-setup/deploy-contracts.yml +++ b/nitro-contracts-setup/deploy-contracts.yml @@ -61,7 +61,7 @@ - name: Wait for the contracts to be deployed wait_for: path: "{{ nitro_directory }}/nitro-contracts-deployment/data/nitro_deployment/nitro-addresses.json" - timeout: 60 + timeout: 300 - name: Export NA_ADDRESS 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"