pub fn insert_genesis_history<'a, 'b, Provider>(
provider: &Provider,
alloc: impl Iterator<Item = (&'a Address, &'b GenesisAccount)> + Clone,
) -> Result<(), ProviderError>where
Provider: DBProvider + HistoryWriter + ChainSpecProvider + StorageSettingsCache + RocksDBProviderFactory + NodePrimitivesProvider,
<Provider as DBProvider>::Tx: DbTxMut,Available on crate feature
provider only.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.