paradigmxyz / reth

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

Integrate BlockExecutor and TraceExt into one type for RPC #12023

Open mattsse opened 1 month ago

mattsse commented 1 month ago

Describe the feature

tracing now is no longer just executing transactions:

https://github.com/paradigmxyz/reth/pull/11845

and also now requires system calls which we already have in the BlockExecutor types.

All of this should be integrated into a new rpc tracing specific type that unifies this with the trace and call trait:

https://github.com/paradigmxyz/reth/blob/7a06298cf70fec4338cb5014f12a6a561d7962f2/crates/rpc/rpc-eth-api/src/helpers/call.rs#L657-L657

https://github.com/paradigmxyz/reth/blob/7a06298cf70fec4338cb5014f12a6a561d7962f2/crates/rpc/rpc-eth-api/src/helpers/trace.rs#L24-L24

Additional context

No response

malik672 commented 4 weeks ago

@mattsse can I open a draft for this

github-actions[bot] commented 6 days ago

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