insert_genesis_state

Function insert_genesis_state 

Source
pub fn insert_genesis_state<'a, 'b, Provider>(
    provider: &Provider,
    alloc: impl Iterator<Item = (&'a Address, &'b GenesisAccount)>,
) -> ProviderResult<()>
Expand description

Inserts the genesis state into the database.