Node architecture

This page reviews node architecture for all nodes running on the Superchain network. All Metal L2 nodes are composed of two core software services, the Rollup Node and the Execution Client. Metal L2 also optionally supports a third component, Legacy Geth, that can serve stateful queries for blocks and transactions created before the Bedrock Upgrade (opens in a new tab).

Node flow diagram

The following diagram shows how the Rollup Node, Execution Client, and Legacy Geth components work together to form a complete node running on the Superchain network. This diagram uses the op-node and op-geth implementations of the Rollup Node and Execution Client respectively, but the same architecture generally applies to other implementations as well.

Metal L2 node architecture diagram.

Rollup node

The Rollup Node is responsible for deriving L2 block payloads from L1 data and passing those payloads to the Execution Client. The Rollup Node can also optionally participate in a peer-to-peer network to receive blocks directly from the Sequencer before those blocks are submitted to L1. The Rollup Node is largely analogous to a consensus client (opens in a new tab) in Ethereum.

Execution client

The Execution Client is responsible for executing the block payloads it receives from the Rollup Node over JSON-RPC via the standard Ethereum Engine API (opens in a new tab). The Execution Client exposes the standard JSON-RPC API that Ethereum developers are familiar with, and can be used to query blockchain data and submit transactions to the network. The Execution Client is largely analogous to an execution client (opens in a new tab) in Ethereum.

Legacy Geth

Metal L2 underwent a large database migration as part of the Bedrock Upgrade (opens in a new tab) in 2023. Blocks and transactions included in Metal L2 prior to the Bedrock Upgrade are served by current execution engines but cannot be executed without the help of a special component called Legacy Geth. This means that you will need to run Legacy Geth if you want to be able to run RPC calls such as eth_call on blocks before the Bedrock Upgrade.

Legacy Geth is the software that was used to run Metal L2 nodes prior to the Bedrock Upgrade. If you run an instance of Legacy Geth alongside your Metal L2 node, your node will be able to forward requests against historical transactions to the Legacy Geth instance. Legacy Geth is not required and is typically only necessary if you want to maintain a complete archive node for Metal L2.

Next steps