Fill in values for L2 deployment config

This commit is contained in:
prathamesh committed 2024-09-05 12:36:41 +05:30
1 parent 1bf0066234
commit 2c7077d2f7
2 files changed
+31 -15

No files matched your search

+9 -9
View File
@@ -10,7 +10,7 @@
cd /srv
```
### Prerequisites
## Prerequisites
* laconic-so: see [installation](https://git.vdb.to/cerc-io/stack-orchestrator#install)
@@ -35,12 +35,12 @@
* <github.com/ethereum-optimism/optimism@v1.7.7>
* <github.com/ethereum-optimism/op-geth@v1.101315.2>
* Target dir: `/srv/l2/optimism-deployment`
* Target dir: `/srv/op-sepolia/optimism-deployment`
* Cleanup an existing deployment if required:
```bash
cd /srv/l2
cd /srv/op-sepolia
# Stop the deployment
laconic-so deployment --dir optimism-deployment stop --delete-volumes
@@ -67,16 +67,16 @@
l1_chain_id: "11155111"
# L1 RPC endpoint
l1_rpc: ""
l1_rpc: "http://host.docker.internal:8545"
# L1 RPC endpoint host or IP address
l1_host: ""
l1_host: "host.docker.internal"
# L1 RPC endpoint port number
l1_port: ""
l1_port: "8545"
# L1 Beacon endpoint
l1_beacon: ""
l1_beacon: "http://host.docker.internal:8001"
# Account credentials for the Admin account
# Used for Optimism contracts deployment and funding other generated accounts
@@ -87,9 +87,9 @@
* Update the target dir in `setup-vars.yml`:
```bash
sed -i 's|^l2_directory:.*|l2_directory: /srv/l2|' setup-vars.yml
sed -i 's|^l2_directory:.*|l2_directory: /srv/op-sepolia|' setup-vars.yml
# Will create deployment at /srv/l2/optimism-deployment
# Will create deployment at /srv/op-sepolia/optimism-deployment
```
### Run