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

Inherit header type in `BlockChainTree` #12752

Open emhane opened 11 hours ago

emhane commented 11 hours ago

Describe the feature

Replace concrete type Header/SealedHeader with reth_node_types::HeaderTy<N> in impl of BlockchainTree https://github.com/paradigmxyz/reth/blob/f8d683e80ee08412e19cc212a4c2bf8ebeca245b/crates/blockchain-tree/src/blockchain_tree.rs#L95-L1373

Additional context

No response

emhane commented 10 hours ago

blocked by https://github.com/paradigmxyz/reth/pull/12723

lakshya-sky commented 5 hours ago

can I take this as well @emhane