Skip to main content

load_storage_etl

Function load_storage_etl 

Source
fn load_storage_etl(
    collector: &mut Collector<Vec<u8>, CompactU256>,
    total: usize,
    label: &str,
    write: impl FnMut(Address, B256, U256) -> Result<()>,
) -> Result<()>
Expand description

Iterate a raw storage ETL collector, deduplicate consecutive entries with the same (address, slot) key, and call write for each unique entry.