You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ Next copy `.env.default` to `.env`
18
18
cp .env.default .env
19
19
```
20
20
21
-
In the `.env` file, modify the `L1_RPC_URL` field to contain a valid Ethereum RPC. For the Optimism and Base testnets, this must be a Goerli RPC URL. This RPC can either be from a local node, or a provider such as Alchemy or Infura.
21
+
In the `.env` file, modify the `L1_RPC_URL` field to contain a valid Ethereum RPC. For the Optimism and Base testnets, this must be a Sepolia RPC URL. This RPC can either be from a local node, or a provider such as Alchemy or Infura.
22
22
23
-
By default, the `NETWORK` field in `.env` is `optimism-goerli`, however `base-goerli` is also supported.
23
+
By default, the `NETWORK` field in `.env` is `optimism-sepolia`, however `base-sepolia` is also supported.
Copy file name to clipboardexpand all lines: docker/README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,12 @@ This contains a simple docker setup for running magi and op-geth.
4
4
5
5
## Running
6
6
7
-
Begin by copying `.env.default` to `.env`. You can set the network to sync to by changing the `NETWORK` value (supported options are optimism-goerli and base-goerli).
7
+
Begin by copying `.env.default` to `.env`. You can set the network to sync to by changing the `NETWORK` value (supported options are optimism-sepolia and base-sepolia).
8
8
Make sure to set the `L1_RPC_URL` value to a valid RPC URL for the L1 being used by the given network. If you are running in production, you may also want to set a secure `JWT_SECRET` value.
9
9
You can create a new secret by running `openssl rand -hex 32`.
10
10
11
11
To run both magi and op-geth together, run `docker compose up`. To run just op-geth without magi for local development, run `COMPOSE_PROFILES=no-magi docker compose up`
12
12
13
13
## Troubleshooting
14
+
14
15
If you are getting `permission denied` errors when attempting to run `docker-compose`, try `sudo docker compose` instead. This is often required when running docker depending on how it was installed.
Copy file name to clipboardexpand all lines: docs/architecture.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -118,4 +118,4 @@ The [Config](../src/config/mod.rs) object contains the system configuration for
118
118
-`regolith_time`: Timestamp of the regolith hardfork.
119
119
-`blocktime`: The L2 blocktime.
120
120
121
-
The [ChainConfig](../src/config/mod.rs) contains default implementations for certain chains. For example, an `optimism-goerli`[ChainConfig](../src/config/mod.rs) instance can be created by calling `ChainConfig::optimism_goerli()`, and a `base-goerli` instance can be created by calling `ChainConfig::base_goerli()`.
121
+
The [ChainConfig](../src/config/mod.rs) contains default implementations for certain chains. For example, an `optimism`[ChainConfig](../src/config/mod.rs) instance can be created by calling `ChainConfig::optimism()`, and a `base` instance can be created by calling `ChainConfig::base()`.
0 commit comments