Open emhane opened 11 hours ago
Replace concrete type Header/SealedHeader with reth_node_types::HeaderTy<N> in impl of BlockchainProvider2 where possible. https://github.com/paradigmxyz/reth/blob/f8d683e80ee08412e19cc212a4c2bf8ebeca245b/crates/storage/provider/src/providers/blockchain_provider.rs#L47-L756
Header
SealedHeader
reth_node_types::HeaderTy<N>
BlockchainProvider2
To do this, probably the generic N on BlockchainProvider2's type definition, will have to be passed to CanonicalInMemoryState first. https://github.com/paradigmxyz/reth/blob/f8d683e80ee08412e19cc212a4c2bf8ebeca245b/crates/storage/provider/src/providers/blockchain_provider.rs#L58
N
CanonicalInMemoryState
No response
blocked by https://github.com/paradigmxyz/reth/pull/12723
can I take this?
Describe the feature
Replace concrete type
Header
/SealedHeader
withreth_node_types::HeaderTy<N>
in impl ofBlockchainProvider2
where possible. https://github.com/paradigmxyz/reth/blob/f8d683e80ee08412e19cc212a4c2bf8ebeca245b/crates/storage/provider/src/providers/blockchain_provider.rs#L47-L756To do this, probably the generic
N
onBlockchainProvider2
's type definition, will have to be passed toCanonicalInMemoryState
first. https://github.com/paradigmxyz/reth/blob/f8d683e80ee08412e19cc212a4c2bf8ebeca245b/crates/storage/provider/src/providers/blockchain_provider.rs#L58Additional context
No response