feat: reuse reth default_ethereum_payload for Ethereum #99
feat: reuse reth default_ethereum_payload for Ethereum #99julio4 merged 3 commits intoflashbots:mainfrom
Conversation
|
@julio4 One other approach is to wrap the |
Yes agree, I tried this before but wasn't convinced. I think your solution looks nice for the time being! |
|
Clippy fails because of latest rust version 1.92 changing the rules. Fixed it in #100 |
Fixes #76.
Notable changes
build_payloadAPIs so builders can fetch parent-scoped state correctly.pub type ProviderFactory<P> = Arc<dyn traits::ProviderFactoryBounds<P>>to standardize the factory type across call sites.state_by_block_hashlookup intoBlockContext::newso payload construction always uses the parent block’s state.