Type Alias EthEvmEnv

Source
pub type EthEvmEnv<D, C> = EvmEnv<D, EthEvmFactory, C>;
Expand description

EvmEnv for Ethereum.

Aliased Type§

struct EthEvmEnv<D, C> { /* private fields */ }

Implementations§

Source§

impl<P> EthEvmEnv<ProofDb<ProviderDb<Ethereum, P>>, HostCommit<BeaconCommit>>
where P: Provider<Ethereum>,

Source

pub async fn into_input(self) -> Result<EthEvmInput>

Available on crate feature host only.

Converts the environment into a EvmInput committing to a Beacon Chain block root.

Source§

impl<P> EthEvmEnv<ProofDb<ProviderDb<Ethereum, P>>, HostCommit<HistoryCommit>>
where P: Provider<Ethereum>,

Source

pub async fn into_input(self) -> Result<EthEvmInput>

Available on crate feature host only.

Converts the environment into a EvmInput recursively committing to multiple Beacon Chain block roots.