Extract network name from deployment file

This commit is contained in:
Neeraj 2024-09-12 11:11:49 +05:30 committed by Prathamesh Musale
parent c493363214
commit 699253df56

View File

@ -144,13 +144,12 @@
* On the deployment VM, set the following variables: * On the deployment VM, set the following variables:
```bash ```bash
# Switch to `/srv/op-sepolia` directory on the virtual machine
cd /srv/op-sepolia cd /srv/op-sepolia
L1_RPC=http://host.docker.internal:8545 L1_RPC=http://host.docker.internal:8545
L2_RPC=http://host.docker.internal:9545 L2_RPC=http://host.docker.internal:9545
NETWORK=<the network name found above> NETWORK=$(grep 'cluster-id' optimism-deployment/deployment.yml | sed 's/cluster-id: //')_default
DEPLOYMENT_CONTEXT=11155111 DEPLOYMENT_CONTEXT=11155111
ACCOUNT=<admin-account-address> ACCOUNT=<admin-account-address>