anvil::eth::backend::executor

Function new_evm_with_inspector

Source
pub fn new_evm_with_inspector<DB: Database>(
    db: DB,
    env: EnvWithHandlerCfg,
    inspector: &mut dyn Inspector<DB>,
    odyssey: bool,
) -> Evm<'_, &mut dyn Inspector<DB>, DB>
Expand description

Creates a database with given database and inspector, optionally enabling odyssey features.