[Feature] Migrate reth's revm_utils to evm
mattsse opened this issue · comments
Describe the feature you would like
We started introducing some tracing helpers in this crate
we can do the same for caller_gas_allowance
apply_block_overrides
and helper trait
and apply_state_overrides
we can use EthApiError
in these functions, so we need to introduce dedicated error types for InvalidBytecode
and BothStateAndStateDiffInOverride
since this requires rpc types, we should feature gate this with a new feature rpc-util
that then enables the optional alloy-rpc-types-eth dependency
These can go into a new rpc_utils.rs file in the evm crate
Additional context
No response