diff --git a/crates/node-core/src/cli/components.rs b/crates/node-core/src/cli/components.rs index b8d5ba5728..04168dbc44 100644 --- a/crates/node-core/src/cli/components.rs +++ b/crates/node-core/src/cli/components.rs @@ -48,7 +48,7 @@ impl FullProvider 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; /// The transaction pool type @@ -147,7 +147,7 @@ impl impl RethNodeComponents for RethNodeComponentsImpl where - DB: Database + Clone + 'static, + DB: Database + Clone + Unpin + 'static, Provider: FullProvider + Clone + 'static, Tasks: TaskSpawner + Clone + Unpin + 'static, Pool: TransactionPool + Clone + Unpin + 'static,