pub trait IntoNestedEvm<SPEC, BLOCK, TX> {
type Inner: NestedEvm<Spec = SPEC, Block = BLOCK, Tx = TX>;
// Required method
fn into_nested_evm(self) -> Self::Inner;
}Expand description
Trait for converting a Foundry EVM wrapper into its inner NestedEvm implementation.
Both EthFoundryEvm and TempoFoundryEvm wrap an inner revm EVM that implements
NestedEvm. This trait provides a uniform way to unwrap them.
Required Associated Types§
Required Methods§
Sourcefn into_nested_evm(self) -> Self::Inner
fn into_nested_evm(self) -> Self::Inner
Consumes the wrapper, returning the inner revm EVM.