compute_arbos_alloc

Function compute_arbos_alloc 

Source
pub fn compute_arbos_alloc(
    chain_id: u64,
    arbos_version: u64,
    chain_owner: Address,
    arbos_init: ArbOSInit,
) -> Result<Vec<(Address, GenesisAccount)>>
Expand description

Run genesis::initialize_arbos_state in a scratch in-memory state and dump the resulting account/storage map. Returns one entry per account touched (the ArbOS state address plus all genesis precompile markers).