Skip to content

Commit 79caf6f

Browse files
committed
update l2 to scroll_endpoint
1 parent 2137f24 commit 79caf6f

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

prover/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Then, you can run geth using the following command:
6060
- You can replace `/data/mainnet` with the directory that you intend to put the blockchain data in. We recommend using a filesystem that supports snapshots in case of data corruption.
6161
- As a default, you can use https://ethereum-rpc.publicnode.com as the ETH_ENDPOINT.
6262

63-
**Setting l2 config in prover.json**
64-
- If running the Scroll Archive node on the same host as the prover, set l2 to http://172.17.0.1:8545
65-
- If running the Scroll Archive node on a different host as the prover, set l2 to the Public IP or DNS name of your archive node (with the correct port number).
66-
- If you can't run the Scroll Archive node, set l2 to empty.
63+
**Setting `scroll_endpoint` config in prover.json**
64+
- If running the Scroll Archive node on the same host as the prover, set `scroll_endpoint` to http://172.17.0.1:8545
65+
- If running the Scroll Archive node on a different host as the prover, set `scroll_endpoint` to the Public IP or DNS name of your archive node (with the correct port number).
66+
- If you can't run the Scroll Archive node, set `scroll_endpoint` to empty.
6767

6868
> 💡 It's strongly recommended to whitelist only your prover node for accessing the execution node.
6969
@@ -94,19 +94,19 @@ If using HTTPS, also move your cert and key into the config folder.
9494

9595
```json
9696
{
97-
"l2": "<Scroll Mainnet Archive Node RPC endpoint>",
98-
"l2_chain_id": 534352,
97+
"scroll_endpoint": "<Scroll Mainnet Archive Node RPC endpoint>",
98+
"scroll_chain_id": 534352,
9999
"server": {
100100
"tls": "/a/b/c"
101101
}
102102
}
103103
```
104104

105105
Below are the configs that you **need to provide**:
106-
* **l2**:
106+
* **scroll_endpoint**:
107107
* the endpoint of scroll, for example: `http://localhost:8545`.
108108
* To setup the scroll archive node, please check this guide: [Setup the Scroll Archive Node](#3-setup-the-scroll-archive-node)
109-
* If you cannot run the Scroll Archive Node, you can temporarily set the **l2** field to blank.
109+
* If you cannot run the Scroll Archive Node, you can temporarily set the **scroll_endpoint** field to blank.
110110

111111
* **server.tls**:
112112
* the path to the tls cert and key.
@@ -176,8 +176,8 @@ If using HTTPS, also move your cert and key into the config folder.
176176

177177
```json
178178
{
179-
"l2": "<Scroll Mainnet Archive Node RPC endpoint>",
180-
"l2_chain_id": 534352,
179+
"scroll_endpoint": "<Scroll Mainnet Archive Node RPC endpoint>",
180+
"scroll_chain_id": 534352,
181181
"server": {
182182
"tls": "/a/b/c"
183183
}
@@ -186,10 +186,10 @@ If using HTTPS, also move your cert and key into the config folder.
186186

187187
Below are the configs that you **need to provide**:
188188

189-
* **l2**:
189+
* **scroll_endpoint**:
190190
* the endpoint of scroll, for example: `http://localhost:8545`.
191191
* To setup the scroll archive node, please check this guide: [Setup the Scroll Archive Node](#3-setup-the-scroll-archive-node)
192-
* If you cannot run the Scroll Archive Node, you can temporarily set the **l2** field to blank.
192+
* If you cannot run the Scroll Archive Node, you can temporarily set the **scroll_endpoint** field to blank.
193193

194194
* **server.tls**:
195195
* the path to the tls cert and key.

prover/holesky/config/prover.json.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"l2": "<Scroll Mainnet Archive Node RPC endpoint>",
3-
"l2_chain_id": 534352,
2+
"scroll_endpoint": "<Scroll Mainnet Archive Node RPC endpoint>",
3+
"scroll_chain_id": 534352,
44
"server": {
55
"tls": "/a/b/c"
66
}

prover/mainnet/config/prover.json.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"l2": "<Scroll Mainnet Archive Node RPC endpoint>",
3-
"l2_chain_id": 534352,
2+
"scroll_endpoint": "<Scroll Mainnet Archive Node RPC endpoint>",
3+
"scroll_chain_id": 534352,
44
"server": {
55
"tls": "/a/b/c"
66
}

0 commit comments

Comments
 (0)