From 699253df567dcc04b2f2c8baabdde91128628517 Mon Sep 17 00:00:00 2001 From: Neeraj Date: Thu, 12 Sep 2024 11:11:49 +0530 Subject: [PATCH] Extract network name from deployment file --- ops/deployments-from-scratch.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index 14432e4..1208497 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -144,13 +144,12 @@ * On the deployment VM, set the following variables: ```bash - # Switch to `/srv/op-sepolia` directory on the virtual machine cd /srv/op-sepolia L1_RPC=http://host.docker.internal:8545 L2_RPC=http://host.docker.internal:9545 - NETWORK= + NETWORK=$(grep 'cluster-id' optimism-deployment/deployment.yml | sed 's/cluster-id: //')_default DEPLOYMENT_CONTEXT=11155111 ACCOUNT=