Fix L2 config file path in instructions

This commit is contained in:
Prathamesh Musale 2024-09-03 15:40:29 +05:30
parent 21bafbfd4b
commit 5ad781d258
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@
cd testnet-ops/l2-setup cd testnet-ops/l2-setup
``` ```
* Edit `l2-config.env.j2` and fill in the following values: * Edit `templates/configs/l2-config.env` and fill in the following values:
```bash ```bash
# Chain ID of the L1 chain (Sepolia: 11155111) # Chain ID of the L1 chain (Sepolia: 11155111)

View File

@ -54,7 +54,9 @@
* Update the target dir in `setup-vars.yml`: * Update the target dir in `setup-vars.yml`:
```bash ```bash
# Set path to desired deployments dir
DEPLOYMENTS_DIR=<path-to-deployments-dir> DEPLOYMENTS_DIR=<path-to-deployments-dir>
sed -i "s|^nitro_directory:.*|nitro_directory: $DEPLOYMENTS_DIR/nitro-node|" setup-vars.yml sed -i "s|^nitro_directory:.*|nitro_directory: $DEPLOYMENTS_DIR/nitro-node|" setup-vars.yml
# Will create deployments at $DEPLOYMENTS_DIR/nitro-node/l1-nitro-deployment and $DEPLOYMENTS_DIR/nitro-node/l2-nitro-deployment # Will create deployments at $DEPLOYMENTS_DIR/nitro-node/l1-nitro-deployment and $DEPLOYMENTS_DIR/nitro-node/l2-nitro-deployment