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
Note: Some L1 nodes (e.g. Erigon) do not support fetching storage proofs. You can work around this by specifying `--l1.trustrpc` when starting op-node (add it in `op-node-entrypoint` and rebuild the docker image with `docker compose build`.) Do not do this unless you fully trust the L1 node provider.
70
70
71
-
You can map a local data directory for `op-geth` by adding a volume mapping to the `docker-compose.yaml`:
71
+
5. Map a local data directory for `op-geth` by adding a volume mapping to the `docker-compose.yaml`:
72
72
73
73
```yaml
74
74
services:
@@ -78,6 +78,8 @@ services:
78
78
- $HOME/data/base:/data
79
79
```
80
80
81
+
This is where your node data will be stored. This is for example where you would extract your [snapshot](#snapshots) to.
82
+
81
83
#### Running in single container with `supervisord`
82
84
83
85
If you'd like to run the node in a single container instead of `docker-compose`, you can use the `supervisord` entrypoint.
If you're a prospective or current Base Node operator and would like to restore from a snapshot to save time on the initial sync, it's possible to always get the latest available snapshot of the Base chain on mainnet and/or testnet by using the following CLI commands. The snapshots are updated every hour.
96
+
If you're a prospective or current Base Node operator and would like to restore from a snapshot to save time on the initial sync, it's always possible to download and decompress the latest available snapshot of the Base chain on mainnet and/or testnet by using the following CLI commands. The snapshots are updated every hour.
Use `tar -xvf` to decompress the downloaded archive to the local data directory you previously configured a volume mapping for.
111
+
108
112
### Syncing
109
113
110
114
Sync speed depends on your L1 node, as the majority of the chain is derived from data submitted to the L1. You can check your syncing status using the `optimism_syncStatus` RPC on the `op-node` container. Example:
0 commit comments