Crate reth_evm

Source
Expand description

Traits for configuring an EVM specifics.

§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.

Modules§

builder
Builder for creating an EVM with a database and environment.
either
Helper type that represents one of two possible executor types
execute
Traits for execution.
metricsstd
Executor metrics.
noop
A no operation block executor implementation.
provider
Provider trait for populating the EVM environment.
state_change
State changes that are not related to transactions.
system_calls
System contract call functions.
test_utilstest-utils
test helpers for mocking executor Helpers for testing.

Structs§

NextBlockEnvAttributes
Represents additional attributes required to configure the next block. This is used to configure the next block’s environment ConfigureEvmEnv::next_cfg_and_block_env and contains fields that can’t be derived from the parent header alone (attributes that are determined by the CL.)

Traits§

ConfigureEvm
Trait for configuring the EVM for executing full blocks.
ConfigureEvmEnv
This represents the set of methods used to configure the EVM’s environment before block execution.
TxEnvOverrides
Function hook that allows to modify a transaction environment.