Crate op_revm
Available on crate feature
evm
only.Expand description
Optimism-specific constants, types, and helpers.
Modules§
- api
- Optimism API types.
- constants
- Optimism constants used in the Optimism EVM.
- evm
- Contains the
[OpEvm]
type and its implementation of the execution EVM traits. - fast_lz
- Contains the
[flz_compress_len]
function. - handler
- Handler related to Optimism chain
- l1block
- Contains the
[L1BlockInfo]
type and its implementation. - precompiles
- Contains Optimism specific precompiles.
- result
- Contains the
[OpHaltReason]
type. - spec
- Contains the
[OpSpecId]
type and its implementation. - transaction
- Contains the
[OpTransaction]
type and its implementation.
Structs§
- L1Block
Info - L1 block info
- OpEvm
- Optimism EVM extends the
Evm
type with Optimism specific types and logic. - OpTransaction
- Optimism transaction.
Enums§
- OpHalt
Reason - Optimism halt reason.
- OpSpec
Id - Optimism spec id.
- OpTransaction
Error - Optimism transaction validation error.
Traits§
- Default
Op - Trait that allows for a default context to be created.
- OpBuilder
- Trait that allows for optimism OpEvm to be built.
Functions§
- estimate_
tx_ compressed_ size - Estimates the compressed size of a transaction.
Type Aliases§
- OpContext
- Type alias for the default context type of the OpEvm.