Update L2 Optimism deployment instructions #27
@ -59,10 +59,10 @@
|
|||||||
cd testnet-ops/l2-setup
|
cd testnet-ops/l2-setup
|
||||||
```
|
```
|
||||||
|
|
||||||
* Copy the `l2-vars-example.yml` vars file:
|
* Copy the `l2-vars.example.yml` vars file:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp l2-vars-example.yml l2-vars.yml
|
cp l2-vars.example.yml l2-vars.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
* Edit `l2-vars.yml` with required values:
|
* Edit `l2-vars.yml` with required values:
|
||||||
@ -110,10 +110,11 @@
|
|||||||
* Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine:
|
* Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[l2_host]
|
[<deployment_host>]
|
||||||
<host_name> ansible_host=<target_ip> ansible_user=<ssh_user> ansible_ssh_common_args='-o ForwardAgent=yes'
|
<host_name> ansible_host=<target_ip> ansible_user=<ssh_user> ansible_ssh_common_args='-o ForwardAgent=yes'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Replace `<deployment_host>` with `l2_host`
|
||||||
- Replace `<host_name>` with the alias of your choice
|
- Replace `<host_name>` with the alias of your choice
|
||||||
- Replace `<target_ip>` with the IP address or hostname of the target machine
|
- Replace `<target_ip>` with the IP address or hostname of the target machine
|
||||||
- Replace `<ssh_user>` with the SSH username (e.g., dev, ubuntu)
|
- Replace `<ssh_user>` with the SSH username (e.g., dev, ubuntu)
|
||||||
@ -147,7 +148,7 @@
|
|||||||
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://op-geth:8545
|
||||||
|
|
||||||
NETWORK=$(grep 'cluster-id' optimism-deployment/deployment.yml | sed 's/cluster-id: //')_default
|
NETWORK=$(grep 'cluster-id' optimism-deployment/deployment.yml | sed 's/cluster-id: //')_default
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user