chore: move database to FullNodeTypes (#13414)

This commit is contained in:
Arsenii Kulikov
2024-12-16 19:54:13 +04:00
committed by GitHub
parent cdf2904aed
commit 82f21a3e39
12 changed files with 97 additions and 71 deletions

View File

@ -209,7 +209,7 @@ where
/// Testing database
pub type TmpDB = Arc<TempDatabase<DatabaseEnv>>;
type TmpNodeAdapter<N, Provider = BlockchainProvider<NodeTypesWithDBAdapter<N, TmpDB>>> =
FullNodeTypesAdapter<NodeTypesWithDBAdapter<N, TmpDB>, Provider>;
FullNodeTypesAdapter<N, TmpDB, Provider>;
/// Type alias for a `NodeAdapter`
pub type Adapter<N, Provider = BlockchainProvider<NodeTypesWithDBAdapter<N, TmpDB>>> = NodeAdapter<