Open frisitano opened 1 month ago
It seems there is no EvmExecutor
trait yet. Do you mean we should define a ScrollEvmExecutor<EvmConfig>
that implements execute_state_transitions
, as well as ScrollBlockExecutor
etc, following the Eth and Op examples?
Sorry I should have been explicit when referring to what we need to implement. Here is an example of the OpEvmExecutor. We would also need to implement associated types such as OpBlockExecutor
, OpBatchExecutor
, OpExecutorProvider
and implement the required traits on these types, i.e. Executor
, BatchExecutor
and BlockExecutorProvider
respectively.
Describe the feature
Overview
To execute blocks using
scroll-revm
we must implement anEvmExecutor
(and associated assets) that wrapsscroll-revm
and executes blocks. An example ofoptimism
specificExecutor
assets can be found here. Logic from thestateless-block-verifier
can be used as a guide for the block execution logic.Additional context
No response