diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index c219896..d3ce7ad 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -59,7 +59,7 @@ jobs: working-directory: ./contracts - name: Start local environment - timeout-minutes: 120 + timeout-minutes: 60 run: | pnpm start:local 2>&1 | tee local_env.log continue-on-error: true diff --git a/contracts/script/deploy-local.ts b/contracts/script/deploy-local.ts index 1d78c11..3f41c48 100644 --- a/contracts/script/deploy-local.ts +++ b/contracts/script/deploy-local.ts @@ -111,7 +111,7 @@ async function main() { console.log("Funding L2 done..."); - const BACKEND_URL = process.env.BACKEND_URL ?? 'http://locahost:1234' + const BACKEND_URL = process.env.BACKEND_URL ?? `http://${getLocalIpAddress()}:1234` if (!process.env.BACKEND_URL) { console.warn('[deploy-local.ts] No BACKEND_URL defined. Might be expected for default deployments and CI. Using localhost.') }