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.21k forks source link

Introduce EvmContext for payload transactions building #12731

Open mattsse opened 18 hours ago

mattsse commented 18 hours ago

Describe the feature

we currently have placeholder for

https://github.com/paradigmxyz/reth/blob/0c5984179e0304c11ad4c5bc0057508b65441338/crates/payload/util/src/traits.rs#L13-L14

ideally we provide a new type EvmContext that includes the evm, and the previously executed transactions, this way this iterator can access evm state in next

TODO

Additional context

No response