Available on crate feature
node-api
only.Expand description
Re-exported optimism node
Re-exports§
pub use reth_node_builder as builder;
node
Modules§
- api
- Standalone crate for Reth configuration traits and builder types.
- args
node
- CLI argument parsing for the optimism node. Additional Node command arguments. clap Args for optimism rollup configuration
- core
- The core of the Ethereum node. Collection of utilities and libraries that are used by the node.
- engine
node
- Exports optimism-specific implementations of the
EngineTypes
trait. - l1
node
- Optimism-specific implementation and utilities for the executor
- node
node
- Optimism Node types config.
- payload
node
- Optimism’s payload builder implementation.
- rpc
node
- RPC component builder
- txpool
node
- OP-Reth Transaction pool.
- utils
node
- Helpers for running test node instances.
- version
node
- Version information for op-reth.
Structs§
- OpAdd
Ons node
- Add-ons w.r.t. optimism.
- OpAdd
OnsBuilder node
- A regular optimism evm and executor builder.
- OpBlock
Assembler node
- Block builder for Optimism.
- OpBlock
Execution Ctx node
- Context for OP block execution.
- OpBlock
Executor Factory node
- Ethereum block executor factory.
- OpBuilt
Payload node
- Contains the built payload.
- OpConsensus
Builder node
- A basic optimism consensus builder.
- OpDA
Config node
- Contains the Data Availability configuration for the OP builder.
- OpEngine
ApiBuilder node
- Builder for basic
OpEngineApi
implementation. - OpEngine
Types node
- The types used in the optimism beacon consensus engine.
- OpEngine
Validator Builder node
- Builder for
OpEngineValidator
. - OpEvm
node
- OP EVM implementation.
- OpEvm
Config node
- Optimism-related EVM configuration.
- OpEvm
Factory node
- Factory producing
OpEvm
s. - OpExecutor
Builder node
- A regular optimism evm and executor builder.
- OpNetwork
Builder node
- A basic optimism network builder.
- OpNext
Block EnvAttributes node
- Context relevant for execution of a next block w.r.t OP.
- OpNode
node
- Type configuration for a regular Optimism node.
- OpPayload
Attributes node
- Optimism Payload Attributes
- OpPayload
Builder node
- Optimism’s payload builder
- OpPayload
Builder Attributes node
- Optimism Payload Builder Attributes
- OpPayload
Types node
- ZST that aggregates Optimism
PayloadTypes
. - OpPool
Builder node
- A basic optimism transaction pool.
- OpReth
Receipt Builder node
- A builder that operates on op-reth primitive types, specifically
OpTransactionSigned
andOpReceipt
. - OpStorage
node
- Optimism storage implementation.
Enums§
- OpBlock
Execution Error node
- Optimism Block Executor Errors
Constants§
- OP_
NAME_ CLIENT node
- The human readable name of the client
Traits§
- OpFull
Node Types node
- Helper trait for Optimism node types with full configuration including storage and execution data.
- OpNode
Types node
- Marker trait for Optimism node types with standard engine, chain spec, and primitives.
- OpPayload
Primitives node
- Helper trait to encapsulate common bounds on
NodePrimitives
for OP payload builder. - Reth
L1Block Info node
- An extension trait for
L1BlockInfo
that allows us to calculate the L1 cost of a transaction based off of the chain spec’s activated hardfork.
Functions§
- extract_
l1_ info node
- Extracts the
L1BlockInfo
from the L2 block. The L1 info transaction is always the first transaction in the L2 block. - extract_
l1_ info_ from_ tx node
- Extracts the
L1BlockInfo
from the L1 info transaction (first transaction) in the L2 block. - parse_
l1_ info node
- Parses the input of the first transaction in the L2 block, into
L1BlockInfo
. - parse_
l1_ info_ tx_ bedrock node
- Parses the calldata of the
L1BlockInfo
transaction pre-Ecotone hardfork. - parse_
l1_ info_ tx_ ecotone node
- Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order:
- parse_
l1_ info_ tx_ isthmus node
- Updates the L1 block values for an Isthmus upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order:
- revm_
spec node
- Map the latest active hardfork at the given header to a revm
OpSpecId
. - revm_
spec_ by_ timestamp_ after_ bedrock node
- Returns the revm
OpSpecId
at the given timestamp.
Type Aliases§
- OpExecutor
Provider node
- Helper type with backwards compatible methods to obtain executor providers.
- OpNetwork
Primitives node
- Network primitive types used by Optimism networks.
- OpNode
Component Builder node
- A
ComponentsBuilder
with its generic arguments set to a stack of Optimism specific builders.