Skip to content

Commit cab3977

Browse files
authored
Clarify how to use snapshots
1 parent cc0a507 commit cab3977

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ docker run --env-file .env.sepolia -e OP_NODE_L2_ENGINE_RPC=ws://localhost:8551
9191

9292
You can fetch the latest snapshots via the URLs provided in the [Base docs](https://docs.base.org/guides/run-a-base-node/#snapshots).
9393

94+
The tar'd directory structure (for mainnet) looks like: `snapshots/mainnet/download/geth` and the snapshots directory (as opposed to the child geth directory) is meant to exist in the root of the geth data directory. The geth data directory is set by the `GETH_HOST_DATA_DIR` env var, which can be set in the .env file.
95+
96+
So, cd into your geth data dir, download the snapshot, and untar it right there.
97+
9498
### Syncing
9599

96100
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

Comments
 (0)