From 8ca78a91bf93f4a1a9bb0aac9bff8d9ab7b8a476 Mon Sep 17 00:00:00 2001 From: Neeraj Date: Thu, 12 Sep 2024 11:11:49 +0530 Subject: [PATCH] Get network name by extracting it from deployment.yml --- 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=