mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-31 01:58:17 -05:00
chore(node-builder): make DB generic Unpin in node components (#6227)
This commit is contained in:
@@ -48,7 +48,7 @@ impl<T, DB: Database> FullProvider<DB> for T where
|
||||
/// The trait that is implemented for the Node command.
|
||||
pub trait RethNodeComponents: Clone + Send + Sync + 'static {
|
||||
/// Underlying database type.
|
||||
type DB: Database + Clone + 'static;
|
||||
type DB: Database + Clone + Unpin + 'static;
|
||||
/// The Provider type that is provided by the node itself
|
||||
type Provider: FullProvider<Self::DB>;
|
||||
/// The transaction pool type
|
||||
@@ -147,7 +147,7 @@ impl<DB, Provider, Pool, Network, Events, Tasks>
|
||||
impl<DB, Provider, Pool, Network, Events, Tasks> RethNodeComponents
|
||||
for RethNodeComponentsImpl<DB, Provider, Pool, Network, Events, Tasks>
|
||||
where
|
||||
DB: Database + Clone + 'static,
|
||||
DB: Database + Clone + Unpin + 'static,
|
||||
Provider: FullProvider<DB> + Clone + 'static,
|
||||
Tasks: TaskSpawner + Clone + Unpin + 'static,
|
||||
Pool: TransactionPool + Clone + Unpin + 'static,
|
||||
|
||||
Reference in New Issue
Block a user