reth::providers::test_utils

Function create_test_provider_factory_with_chain_spec

Source
pub fn create_test_provider_factory_with_chain_spec(
    chain_spec: Arc<ChainSpec>,
) -> ProviderFactory<NodeTypesWithDBAdapter<AnyNodeTypesWithEngine<(), EthEngineTypes, ChainSpec, MerklePatriciaTrie>, Arc<TempDatabase<DatabaseEnv>>>>
Available on crate feature test-utils only.
Expand description

Creates test provider factory with provided chain spec.