Skip to main content

map_tempo_error

Function map_tempo_error 

Source
fn map_tempo_error(
    e: EVMError<DatabaseError, TempoInvalidTransaction>,
) -> EVMError<DatabaseError>
Expand description

Maps a Tempo [EVMError] to the common EVMError<DatabaseError> used by NestedEvm.

This exists because NestedEvm currently uses Eth-typed errors. When NestedEvm gains an associated Error type, this mapping can be removed.