Replies: 2 comments 3 replies
-
Which parts of block execution do you need to override? Abstraction was changed to contain entire logic for block execution in reth/crates/evm/evm/src/execute.rs Lines 430 to 443 in 06d4319 For overriding the pre/post changes or transaction execution logic, you could introduce a custom reth/examples/custom-beacon-withdrawals/src/main.rs Lines 165 to 206 in 06d4319 Please lmk if this works for your usecase as this abstraction is relatively new and we might still consider adding changes to it if it's not flexible enough |
Beta Was this translation helpful? Give feedback.
-
solved here: #16621 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
After reth combined the block execution with evm, the functions
execute_one
andexecute_one_with_state_hook
got one level down in the abstraction. Suppose we need aCustomBlockExecutor
that needs custom implementations of these functions, what is the recommended way?ConfigureEvm
has the following functions whereBasicBlockExecutor
is hardcoded.Should we have generic return types for these in order to have our custom executor?
Beta Was this translation helpful? Give feedback.
All reactions