Expand description
Re-exported from reth_optimism_node
.
Modules§
- args
- CLI argument parsing for the optimism node. Additional Node command arguments. clap Args for optimism rollup configuration
- engine
- Exports optimism-specific implementations of the
EngineTypes
trait. - l1
- Optimism-specific implementation and utilities for the executor
- node
- Optimism Node types config.
- payload
- Optimism’s payload builder implementation.
- rpc
- RPC component builder
- txpool
- OP-Reth Transaction pool.
- utils
- Helpers for running test node instances.
- version
- Version information for op-reth.
Structs§
- OpAdd
Ons - Add-ons w.r.t. optimism.
- OpAdd
OnsBuilder - A regular optimism evm and executor builder.
- OpBlock
Assembler - Block builder for Optimism.
- OpBlock
Execution Ctx - Context for OP block execution.
- OpBlock
Executor Factory - Ethereum block executor factory.
- OpBuilt
Payload - Contains the built payload.
- OpConsensus
Builder - A basic optimism consensus builder.
- OpDA
Config - Contains the Data Availability configuration for the OP builder.
- OpEngine
ApiBuilder - Builder for basic
OpEngineApi
implementation. - OpEngine
Types - The types used in the optimism beacon consensus engine.
- OpEngine
Validator Builder - Builder for
OpEngineValidator
. - OpEvm
- OP EVM implementation.
- OpEvm
Config - Optimism-related EVM configuration.
- OpEvm
Factory - Factory producing
OpEvm
s. - OpExecutor
Builder - A regular optimism evm and executor builder.
- OpNetwork
Builder - A basic optimism network builder.
- OpNext
Block EnvAttributes - Context relevant for execution of a next block w.r.t OP.
- OpNode
- Type configuration for a regular Optimism node.
- OpPayload
Attributes - Optimism Payload Attributes
- OpPayload
Builder - Optimism’s payload builder
- OpPayload
Builder Attributes - Optimism Payload Builder Attributes
- OpPayload
Types - ZST that aggregates Optimism [
PayloadTypes
]. - OpPool
Builder - A basic optimism transaction pool.
- OpReth
Receipt Builder - A builder that operates on op-reth primitive types, specifically
OpTransactionSigned
andOpReceipt
. - OpStorage
- Optimism storage implementation.
Enums§
- OpBlock
Execution Error - Optimism Block Executor Errors
Constants§
- OP_
NAME_ CLIENT - The human readable name of the client
Traits§
- OpFull
Node Types - Helper trait for Optimism node types with full configuration including storage and execution data.
- OpNode
Types - Marker trait for Optimism node types with standard engine, chain spec, and primitives.
- OpPayload
Primitives - Helper trait to encapsulate common bounds on [
NodePrimitives
] for OP payload builder. - Reth
L1Block Info - 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 - 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 - Extracts the [
L1BlockInfo
] from the L1 info transaction (first transaction) in the L2 block. - parse_
l1_ info - Parses the input of the first transaction in the L2 block, into [
L1BlockInfo
]. - parse_
l1_ info_ tx_ bedrock - Parses the calldata of the [
L1BlockInfo
] transaction pre-Ecotone hardfork. - parse_
l1_ info_ tx_ ecotone - 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 - 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 - Map the latest active hardfork at the given header to a revm [
OpSpecId
]. - revm_
spec_ by_ timestamp_ after_ bedrock - Returns the revm [
OpSpecId
] at the given timestamp.
Type Aliases§
- OpExecutor
Provider - Helper type with backwards compatible methods to obtain executor providers.
- OpNetwork
Primitives - Network primitive types used by Optimism networks.
- OpNode
Component Builder - A
ComponentsBuilder
with its generic arguments set to a stack of Optimism specific builders.