pub type Adapter = NodeAdapter<RethFullAdapter<TmpDB, TestNode>, <<TestNode as Node<FullNodeTypesAdapter<TestNode, TmpDB, BlockchainProvider<NodeTypesWithDBAdapter<TestNode, TmpDB>>>>>::ComponentsBuilder as NodeComponentsBuilder<RethFullAdapter<TmpDB, TestNode>>>::Components>;
Expand description
The NodeAdapter
for the TestExExContext
. Contains type necessary to
boot the testing environment
Aliased Type§
struct Adapter {
pub components: Components<FullNodeTypesAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>, BlockchainProvider<NodeTypesWithDBAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>>>>, EthNetworkPrimitives, Pool<MockTransactionValidator<MockTransaction>, CoinbaseTipOrdering<MockTransaction>, InMemoryBlobStore>, EthEvmConfig, MockExecutorProvider, Arc<TestConsensus>>,
pub task_executor: TaskExecutor,
pub provider: BlockchainProvider<NodeTypesWithDBAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>>>,
}
Fields§
§components: Components<FullNodeTypesAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>, BlockchainProvider<NodeTypesWithDBAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>>>>, EthNetworkPrimitives, Pool<MockTransactionValidator<MockTransaction>, CoinbaseTipOrdering<MockTransaction>, InMemoryBlobStore>, EthEvmConfig, MockExecutorProvider, Arc<TestConsensus>>
The components of the node.
task_executor: TaskExecutor
The task executor for the node.
provider: BlockchainProvider<NodeTypesWithDBAdapter<TestNode, Arc<TempDatabase<DatabaseEnv>>>>
The provider of the node.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 320 bytes