feat: make bodies downloader generic over header (#13259)

This commit is contained in:
Dan Cline
2024-12-10 04:29:51 -05:00
committed by GitHub
parent da99986ea2
commit 15470b4350
10 changed files with 112 additions and 92 deletions

View File

@ -87,7 +87,7 @@ pub fn build_pipeline<N, H, B, Executor>(
where
N: ProviderNodeTypes,
H: HeaderDownloader<Header = HeaderTy<N>> + 'static,
B: BodyDownloader<Body = BodyTy<N>> + 'static,
B: BodyDownloader<Header = HeaderTy<N>, Body = BodyTy<N>> + 'static,
Executor: BlockExecutorProvider<Primitives = N::Primitives>,
N::Primitives: NodePrimitives<BlockHeader = reth_primitives::Header>,
{