From d15d14c539dd53bcc71884ce9b01336d65e8283b Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 3 Sep 2024 09:38:35 +0530 Subject: [PATCH] Update instructions --- stack/fixturenet-optimism/README.md | 9 +++++++++ stack/fixturenet-optimism/l2-only.md | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/stack/fixturenet-optimism/README.md b/stack/fixturenet-optimism/README.md index 3222b5e..13f40f2 100644 --- a/stack/fixturenet-optimism/README.md +++ b/stack/fixturenet-optimism/README.md @@ -112,6 +112,15 @@ Inside the `fixturenet-eth-deployment` deployment directory, open `config.env` f CERC_ALLOW_UNPROTECTED_TXS=true ``` +Inside the `fixturenet-optimism-deployment` deployment directory, open `config.env` file and set following env variables: + +```bash +# Optional +# Funding amounts for proposer and batcher accounts +CERC_L2_PROPOSER_AMOUNT= # Default 0.2ether +CERC_L2_BATCHER_AMOUNT= # Default 0.1ether +``` + ## Start the stack Start the deployment: diff --git a/stack/fixturenet-optimism/l2-only.md b/stack/fixturenet-optimism/l2-only.md index a4ae95a..c802369 100644 --- a/stack/fixturenet-optimism/l2-only.md +++ b/stack/fixturenet-optimism/l2-only.md @@ -64,6 +64,9 @@ Inside the deployment directory, open the file `config.env` and add the followin CERC_L1_HOST= CERC_L1_PORT= + # External L1 Beacon node endpoint + CERC_L1_BEACON= + # URL to get CSV with credentials for accounts on L1 # that are used to send balance to Optimism Proxy contract # (enables them to do transactions on L2) @@ -74,6 +77,12 @@ Inside the deployment directory, open the file `config.env` and add the followin # Other generated accounts will be funded from this account, so it should contain ~20 Eth CERC_L1_ADDRESS= CERC_L1_PRIV_KEY= + + # Optional + + # Funding amounts for proposer and batcher accounts + CERC_L2_PROPOSER_AMOUNT= + CERC_L2_BATCHER_AMOUNT= ``` * NOTE: If L1 is running on the host machine, use `host.docker.internal` as the hostname to access the host port, or use the `ip a` command to find the IP address of the `docker0` interface (this will usually be something like `172.17.0.1` or `172.18.0.1`)