compute_arbos_alloc_with_config

Function compute_arbos_alloc_with_config 

Source
pub fn compute_arbos_alloc_with_config(
    chain_id: u64,
    arbos_version: u64,
    chain_owner: Address,
    arbos_init: ArbOSInit,
    serialized_chain_config: Vec<u8>,
    initial_l1_base_fee: U256,
) -> Result<Vec<(Address, GenesisAccount)>>
Expand description

Run genesis::initialize_arbos_state in a scratch in-memory state using a caller-supplied serialized chain config and initial L1 base fee.

Use this overload when reproducing the slot set written for a given chain spec; pass serialize_chain_config_go_style(value["config"]) for the bytes and DEFAULT_INITIAL_L1_BASE_FEE_WEI for the base fee.