reth_db_common::init

Function insert_state

Source
pub fn insert_state<'a, 'b, Provider>(
    provider: &Provider,
    alloc: impl Iterator<Item = (&'a Address, &'b GenesisAccount)>,
    block: u64,
) -> ProviderResult<()>
where Provider: StaticFileProviderFactory + DBProvider<Tx: DbTxMut> + StateChangeWriter + HeaderProvider + StateWriter + AsRef<Provider>,
Expand description

Inserts state at given block into database.