reth_e2e_test_utils

Type Alias Adapter

Source
pub type Adapter<N, Provider = BlockchainProvider<NodeTypesWithDBAdapter<N, TmpDB>>> = NodeAdapter<FullNodeTypesAdapter<N, TmpDB, Provider>, <<N as Node<FullNodeTypesAdapter<N, TmpDB, Provider>>>::ComponentsBuilder as NodeComponentsBuilder<FullNodeTypesAdapter<N, TmpDB, Provider>>>::Components>;
Expand description

Type alias for a NodeAdapter

Aliased Type§

struct Adapter<N, Provider = BlockchainProvider<NodeTypesWithDBAdapter<N, TmpDB>>> {
    pub components: <<N as Node<FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider>>>::ComponentsBuilder as NodeComponentsBuilder<FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider>>>::Components,
    pub task_executor: TaskExecutor,
    pub provider: <FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider> as FullNodeTypes>::Provider,
}

Fields§

§components: <<N as Node<FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider>>>::ComponentsBuilder as NodeComponentsBuilder<FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider>>>::Components

The components of the node.

§task_executor: TaskExecutor

The task executor for the node.

§provider: <FullNodeTypesAdapter<N, Arc<TempDatabase<DatabaseEnv>>, Provider> as FullNodeTypes>::Provider

The provider of the node.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.