paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.59k stars 938 forks source link

Add extension hooks to block executor #8764

Open dapplion opened 1 month ago

dapplion commented 1 month ago

Describe the feature

Currently, revm exposes a set of useful hooks to insert custom behavior at various steps of individual transaction execution.

However, for block execution one has to copy existing code to extend it. For example, if someone wants to add another system call after the eip4788 contract call, must copy the function execute_state_transitions and append some code to it.

It would be useful to add hooks at some key points such as:

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 21 days with no activity.