revm_wiring::result

Type Alias EVMResult

Source
pub type EVMResult<EvmWiringT> = EVMResultGeneric<ResultAndState<<EvmWiringT as EvmWiring>::HaltReason>, EvmWiringT>;
Expand description

Result of EVM execution.

Aliased Type§

enum EVMResult<EvmWiringT> {
    Ok(ResultAndState<<EvmWiringT as EvmWiring>::HaltReason>),
    Err(EVMError<<<EvmWiringT as EvmWiring>::Database as Database>::Error, <<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError>),
}

Variants§

§1.0.0

Ok(ResultAndState<<EvmWiringT as EvmWiring>::HaltReason>)

Contains the success value

§1.0.0

Err(EVMError<<<EvmWiringT as EvmWiring>::Database as Database>::Error, <<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError>)

Contains the error value