run_with_interpreter

Function run_with_interpreter 

Source
pub(crate) fn run_with_interpreter(
    unit: &TestUnit,
    tx_env: &TxEnv,
    db: CacheDB<EmptyDB>,
    spec_id: SpecId,
) -> Result<ExecutionResult>
Expand description

Run test with standard revm interpreter at bytecode level.

To match JIT gas accounting, we run the interpreter directly on the bytecode rather than using full transaction execution which includes intrinsic gas costs.