Use OpBlockExecutionError
in op execution
#13644
Labels
A-execution
Related to the Execution and EVM
A-op-reth
Related to Optimism and op-reth
A-sdk
Related to reth's use as a library
C-debt
Refactor of code section that is hard to understand or maintain
Describe the feature
Reveres relationship between op error and L1 error. The L1 error can occur on L2, hence it makes more sense to wrap it in the OP error, as opposed to converting the OP error to
BlockExecutionError::Other
and thereby loosing important type info.Add variant
OpBlockExecutionError::Eth
that wraps aBlockExecutionError
. Remove conversion fromOpBlockExecutionError
toBlockExecutionError
.reth/crates/optimism/evm/src/error.rs
Lines 6 to 30 in 9b44e2a
Update op execution to use
OpBlockExecutionError
reth/crates/optimism/evm/src/execute.rs
Line 129 in 9b44e2a
Additional context
No response
The text was updated successfully, but these errors were encountered: