pub fn insert_history<'a, 'b, Provider>(
provider: &Provider,
alloc: impl Iterator<Item = (&'a Address, &'b GenesisAccount)> + Clone,
block: u64,
) -> ProviderResult<()>where
Provider: DBProvider<Tx: DbTxMut> + HistoryWriter + StorageSettingsCache + RocksDBProviderFactory + NodePrimitivesProvider,Expand description
Inserts history indices for genesis accounts and storage.
Writes to either MDBX or RocksDB based on storage settings configuration,
using [EitherWriter] to abstract over the storage backend.