Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node-operators/guides/base-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
3. Configure your execution client to properly communicate with the Rollup Node.
4. Optionally, configure Legacy Geth.

## Configuring Your execution client
## Configuring your execution client

You can choose between two execution clients for your OP Stack rollup node: `op-geth` or `nethermind`. Each has its own configuration requirements and recommended settings.

Expand Down Expand Up @@ -53,7 +53,7 @@
```bash
#!/bin/sh
FILE=/$DATADIR/genesis.json
OP_GETH_GENESIS_URL=<<insert op-geth url to the genesis file>>
OP_GETH_GENESIS_URL=<<insert the op-geth URL to the genesis file>>

if [ ! -s $FILE ]; then
apk add curl
Expand Down Expand Up @@ -151,7 +151,7 @@

## Configuring `op-node`

`op-node` is a standalone, statically linked binary. It stores no state, and requires no initialization. It consumes configuration parameters either via the command line or environment variables. For some networks, the Rollup Node also requires a configuration file (called `rollup.json` or the "rollup config") that configures network-specific genesis parameters. For official networks like OP Sepolia and OP Mainnet, the genesis config is hardcoded in the `op-node` software and can be specified via a `--network` flag.

Check warning on line 154 in node-operators/guides/base-config.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/guides/base-config.mdx#L154

Did you really mean 'hardcoded'?

Following the [Ecotone upgrade](/operators/node-operators/network-upgrades#ecotone)
node operators must set an L1 beacon value to retrieve [blobs](/operators/node-operators/management/blobs)
Expand Down Expand Up @@ -195,13 +195,13 @@
</Tabs.Tab>
</Tabs>

You can manually specify a path to a rollup config with the `--rollup.config` flag. This is used for testnets or internal deployments that are not migrated from a legacy network.

Check warning on line 198 in node-operators/guides/base-config.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/guides/base-config.mdx#L198

Did you really mean 'testnets'?

Each of the above flags can also be defined via an environment variable. Run `op-node --help` to see a list of all available flags and environment variables.

### Configuring peer-to-peer networking

Unlike the previous system, the `op-node` participates in a peer-to-peer network. This network is used to distribute blocks that have not been submitted to L1 yet. The `op-node` will automatically discover and connect to peers using a hardcoded set of bootnodes. You can also manually specify peers to connect to via the `--p2p.static` flag.

Check warning on line 204 in node-operators/guides/base-config.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/guides/base-config.mdx#L204

Did you really mean 'hardcoded'?

For best results, run `op-node` with a static IP address that is accessible from the public Internet. For Kubernetes deployments, this can be achieved by configuring a dedicated `Ingress` with an external IP, and using the `--p2p.advertise.ip` flag to specify the IP address of the load balancer when advertising IP addresses to peers.

Expand Down
6 changes: 3 additions & 3 deletions node-operators/guides/management/regenesis-history.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Accessing pre-regenesis history
description: Learn how to use access pre-regenesis history using the Etherscan CSV exporting tool.
description: Learn how to access pre-regenesis history using the Etherscan CSV exporting tool.

Check warning on line 3 in node-operators/guides/management/regenesis-history.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/guides/management/regenesis-history.mdx#L3

Did you really mean 'Etherscan'?
---

This tutorial explains how to access transaction history between 23 June 2021 and the final regenesis.
Expand Down Expand Up @@ -46,8 +46,8 @@
on Ethereum called the [CanonicalTransactionChain](https://etherscan.io/address/0x5e4e65926ba27467555eb562121fac00d24e9dd2).
While it is theoretically possible to recover the data by downloading and
re-executing this chain of transactions from Ethereum, this is a labor intensive
and costly task that may not fully recover the data. The OP Labs's team did
attempt data recover efforts, including reaching out to several partners.
and costly task that may not fully recover the data. The OP Labs team did
attempt data recovery efforts, including reaching out to several partners.

### Impact

Expand Down
2 changes: 1 addition & 1 deletion node-operators/guides/management/snapshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Nethermind provides an official snapshot through their snapshot service:
### OP Mainnet (archive node)

<Info>
You can also download access the [Optimism Foundation datadir explorer](https://datadirs.optimism.io/?utm_source=op-docs\&utm_medium=docs) to find other snapshots.
You can also access the [Optimism Foundation datadir explorer](https://datadirs.optimism.io/?utm_source=op-docs\&utm_medium=docs) to find other snapshots.
</Info>

| Snapshot Date | Size | Download Link | sha256sum |
Expand Down
4 changes: 2 additions & 2 deletions node-operators/tutorials/run-node-from-source.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
* **Full Node:** The snapshot size for a full node is approximately 700GB, with the data directory's capacity increasing by about 100GB every six months.
* **Archive Node:** The snapshot size for an archive node is approximately 14TB, with the data directory's capacity increasing by about 3.5TB every six months. A local SSD with a NVME interface is recommended for archive nodes

Based on these trends, node operators should plan for future storage needs and choose SSDs that can handle these increasing requirements.

Check warning on line 31 in node-operators/tutorials/run-node-from-source.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/tutorials/run-node-from-source.mdx#L31

Did you really mean 'SSDs'?

<Info>
Geth supports a "freezer" feature to store older chain data on HDDs, saving SSD space. Configure this for OP Mainnet using the `--datadir.ancient` flag. See [Geth docs](https://geth.ethereum.org/docs/fundamentals/databases) and [OP docs](/operators/node-operators/configuration/execution-config#datadirancient) for details.

Check warning on line 34 in node-operators/tutorials/run-node-from-source.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/tutorials/run-node-from-source.mdx#L34

Did you really mean 'HDDs'?
</Info>

## Superchain nodes

All nodes in the Superchain ecosystem can be run from `op-node` and an execution client (`op-geth` or `Nethermind`) if they're included in the [Superchain Registry](/superchain/superchain-registry). You can specify the type of node you want to run by configuring the `--network` flag on `op-node` and the corresponding network flag on your execution client (`--op-network` for `op-geth` or `-c` for `Nethermind`).

### Assess blob archiver

Check warning on line 41 in node-operators/tutorials/run-node-from-source.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/tutorials/run-node-from-source.mdx#L41

Did you really mean 'archiver'?

Assess if you need to configure a blob archiver service by reading the [Configure a Blob Archiver documentation](/operators/node-operators/management/blobs#configure-a-blob-archiver).

Check warning on line 43 in node-operators/tutorials/run-node-from-source.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/tutorials/run-node-from-source.mdx#L43

Did you really mean 'archiver'?

### Create a JWT secret

Expand Down Expand Up @@ -222,7 +222,7 @@

<Info>
Some L1 nodes, like Erigon, do not support the `eth_getProof` RPC method that the `op-node` uses to load L1 data for certain processing steps.
If you are using an L1 node that does not support `eth_getProof`, you will need to include the `--l1.trustrpc` flag when starting `op-node`.

Check warning on line 225 in node-operators/tutorials/run-node-from-source.mdx

View check run for this annotation

Mintlify / Mintlify Validation (optimism-373f39ad) - vale-spellcheck

node-operators/tutorials/run-node-from-source.mdx#L225

Did you really mean 'startin'?
Note that this flag will cause `op-node` to trust the L1 node to provide correct data as it will no longer be able to independently verify the data it receives.
</Info>

Expand Down Expand Up @@ -258,7 +258,7 @@

<Steps>
<Step title="Downloading the headers">
`op-geth` log something like this as it is downloading the headers:
`op-geth` will log something like this as it is downloading the headers:

```text
lvl=info msg="Syncing beacon headers" downloaded=116775778 left=1162878 eta=53.182s
Expand Down Expand Up @@ -373,7 +373,7 @@

OP Mainnet underwent a large database migration as part of the [Bedrock Upgrade](https://web.archive.org/web/20230608050602/https://blog.oplabs.co/introducing-optimism-bedrock/) in 2023.
You will need access to the migrated OP Mainnet database to run an archive node.
You can [migrate your own data directory](https://web.archive.org/web/20240110231645/https://blog.oplabs.co/reproduce-bedrock-migration/) or simply download database that has already been migrated.
You can [migrate your own data directory](https://web.archive.org/web/20240110231645/https://blog.oplabs.co/reproduce-bedrock-migration/) or simply download a database that has already been migrated.
In this section, you'll learn how to download and verify the pre-migrated database.

<Steps>
Expand Down