diff --git a/src/docs/developers/bedrock/node-operator-guide.md b/src/docs/developers/bedrock/node-operator-guide.md index 4aee565f6..7c6377f69 100644 --- a/src/docs/developers/bedrock/node-operator-guide.md +++ b/src/docs/developers/bedrock/node-operator-guide.md @@ -59,7 +59,7 @@ Even though the Docker image for the Execution Engine is called `op-geth`, the a We'll start with `op-geth`'s configuration because it is more complex. As mentioned before, `op-geth` is a minimal fork of `go-ethereum`. As a result, it stores its state in a database that requires initialization. Initialization is done one of two ways, depending on which network you're deploying: -1. **With a Genesis File:** This is for OP Sepolia, and other testnets or deployments that are not migrated from a legacy network. In this case, you'll download the genesis file and initialize the data directory via `geth init`. +1. **With a Genesis File:** This is for OP Sepolia, and other testnets or deployments that are not migrated from a legacy network. In this case, you'll download the [genesis file](https://networks.optimism.io/op-sepolia/genesis.json) and initialize the data directory via `geth init`. 2. **With a Data Directory:** This is used for networks that are migrated from a legacy network. This would include OP Mainnet and OP Goerli. In this case, you'll download a preconfigured data directory and extract it. No further initialization is necessary in this case, because the data directory contains the network's genesis information. Regardless of how `op-geth` is initialized, you'll need to ensure that you have sufficient disk space available to store the network's data. As of this writing, the mainnet data directory is ~100GB for a full node and ~1TB for an archival node. The OP Goerli data directory is ~40GB for a full node. @@ -73,7 +73,7 @@ Instructions for each initialization method are below. If you're spinning up an ```bash #!/bin/sh FILE=/$DATADIR/genesis.json -OP_GETH_GENESIS_URL=https://storage.googleapis.com/oplabs-network-data/Sepolia/genesis.json +OP_GETH_GENESIS_URL=https://networks.optimism.io/op-sepolia/genesis.json if [ ! -s $FILE ]; then apk add curl @@ -84,10 +84,11 @@ else fi ``` -::: danger CLI Flag Requirements -Required: `--sepolia` +::: danger OP Sepolia CLI Flag Requirements -Do not set: `--rollup.historicalrpc` and `rollup.historicalrpctimeout` +- `op-node` requires: `--network=op-sepolia` +- `op-geth` requires: `--beta.op-network=op-sepolia` +- Do not set: `--rollup.historicalrpc` or `rollup.historicalrpctimeout` ::: #### Initialization via Data Directory diff --git a/src/docs/developers/nodes/testnet.md b/src/docs/developers/nodes/testnet.md index 29c91017c..39b17efed 100644 --- a/src/docs/developers/nodes/testnet.md +++ b/src/docs/developers/nodes/testnet.md @@ -14,7 +14,7 @@ Migrated Networks, *OP Mainnet* and *OP Goerli*, were running before the Bedrock OP Sepolia is non-migrated network so it requires [initialization via genesis file](../bedrock/node-operator-guide/#initialization-via-genesis-file). `op-geth` uses JSON files to encode a network's genesis information. You'll need to download the genesis JSON, then run the following command to initialize the data directory: ```bash -curl -o -sL +curl -o -sL https://networks.optimism.io/op-sepolia/genesis.json geth init \ --datadir="" \ @@ -67,7 +67,8 @@ In the root of your working directory create a new directory: `scripts`. --rollup.sequencerhttp=$SEQUENCER_URL \ --nodiscover \ --syncmode=full \ - --maxpeers=0 + --maxpeers=0 \ + --beta.op-network=op-sepolia ``` Other Sequencer URLs can be found here: [Networks, Public RPC Endpoints, & APIs](../../useful-tools/networks.md). @@ -109,8 +110,8 @@ Other Sequencer URLs can be found here: [Networks, Public RPC Endpoints, & APIs] --l2.jwt-secret=./jwt.txt \ --network=$NET \ --rpc.addr=0.0.0.0 \ - --rpc.port=8547 - + --rpc.port=8547 \ + --network=op-sepolia ``` diff --git a/src/docs/useful-tools/networks.md b/src/docs/useful-tools/networks.md index 43282acbc..dd32ba32b 100644 --- a/src/docs/useful-tools/networks.md +++ b/src/docs/useful-tools/networks.md @@ -221,6 +221,7 @@ These parameters are mostly useful to people responsible for running and adminis - Note that there is no Bedrock Data Directory or Legacy Geth Data Directory required for running OP Sepolia nodes - [Configuration parameters](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/deploy-config/sepolia.json) +- [Genesis.json File](https://networks.optimism.io/op-sepolia/genesis.json) - [Latest releases of `op-geth`](https://github.com/ethereum-optimism/op-geth/releases/latest) - [Latest release of `op-node`](https://github.com/ethereum-optimism/optimism/releases/latest) - Note: Unlike on OP Mainnet or OP Goerli, you do not need to run `legacy-geth` to run an archival OP Sepolia node.