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

replace BlockWithSenders with fn #12695

Open stevencartavia opened 2 days ago

stevencartavia commented 2 days ago

should close #12654

stevencartavia commented 2 days ago

I used the pub fn new(block: Block, senders: Vec<Address>) -> Option<Self> { from impl BlockWithSenders. Since the block from struct SealedBlockWithSenders is sealed and that would change everything I think