chore: make CanonicalInMemoryState generic over sealed header and block (#12835)

This commit is contained in:
Jun Song
2024-11-25 21:54:45 +09:00
committed by GitHub
parent dcaa06a01a
commit caac226c73
7 changed files with 92 additions and 60 deletions

View File

@ -117,7 +117,7 @@ pub struct BlockchainProvider<N: NodeTypesWithDB> {
/// The blockchain tree instance.
tree: Arc<dyn TreeViewer>,
/// Tracks the chain info wrt forkchoice updates
chain_info: ChainInfoTracker,
chain_info: ChainInfoTracker<reth_primitives::EthPrimitives>,
}
impl<N: ProviderNodeTypes> Clone for BlockchainProvider<N> {