mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: make more block types generic (#12812)
This commit is contained in:
@ -5,7 +5,7 @@ use std::{
|
||||
|
||||
use futures_util::TryStreamExt;
|
||||
use reth_codecs::Compact;
|
||||
use reth_primitives_traits::BlockBody;
|
||||
use reth_primitives_traits::{Block, BlockBody};
|
||||
use tracing::*;
|
||||
|
||||
use alloy_primitives::TxNumber;
|
||||
@ -151,7 +151,7 @@ where
|
||||
+ StaticFileProviderFactory
|
||||
+ StatsReader
|
||||
+ BlockReader
|
||||
+ BlockWriter<Body = D::Body>,
|
||||
+ BlockWriter<Block: Block<Body = D::Body>>,
|
||||
D: BodyDownloader<Body: BlockBody<Transaction: Compact>>,
|
||||
{
|
||||
/// Return the id of the stage
|
||||
|
||||
Reference in New Issue
Block a user