Crate reth_evm_ethereum

Source
Expand description

EVM config for vanilla ethereum.

§Revm features

This crate does not enforce specific revm features such as blst or c-kzg, which are critical for revm’s evm internals, it is the responsibility of the implementer to ensure the proper features are selected.

Re-exports§

pub use build::EthBlockAssembler;

Modules§

build
Ethereum block assemblers
execute
Ethereum block execution strategy.

Structs§

EthEvm
Ethereum EVM implementation.
EthEvmConfig
Ethereum-related EVM configuration.
MockEvmConfigtest-utils
A block executor provider that returns mocked execution results.
MockExecutortest-utils
Mock executor that returns a fixed execution result.
RethReceiptBuilder
A builder that operates on Reth primitive types, specifically [TransactionSigned] and [Receipt].

Functions§

revm_spec
Map the latest active hardfork at the given header to a revm [SpecId].
revm_spec_by_timestamp_and_block_number
Map the latest active hardfork at the given timestamp or block number to a revm [SpecId].

Type Aliases§

MockExecutorProvidertest-utils
A helper type alias for mocked block executor provider.