reth
reth copied to clipboard
Expose `EvmConfig` to `PayloadServiceBuilder`
trafficstars
Describe the feature
Right now PayloadServiceBuilder already gets Pool as input https://github.com/paradigmxyz/reth/blob/a7946131bfdd39a59a3a156b74ad68d04b45d0f8/crates/node/builder/src/components/payload.rs#L17-L22
We should also pass evm_config to it so that we don't have to initialize it separately as e.g here https://github.com/paradigmxyz/reth/blob/ae3ffb90e4c99dd16e8bf6c5a9749c2f0cf9ec68/crates/ethereum/node/src/payload.rs#L77
which may result in bugs similar to https://github.com/paradigmxyz/reth/pull/15875
Additional context
No response