Function reth_provider::test_utils::insert_genesis

source ยท
pub fn insert_genesis<N: NodeTypesWithDB<ChainSpec = ChainSpec>>(
    provider_factory: &ProviderFactory<N>,
    chain_spec: Arc<N::ChainSpec>,
) -> ProviderResult<B256>
Available on crate feature test-utils only.
Expand description

Inserts the genesis alloc from the provided chain spec into the trie.