op_alloy_genesis::rollup

Function rollup_config_from_chain_id

Source
pub fn rollup_config_from_chain_id(
    chain_id: u64,
) -> Result<RollupConfig, &'static str>
Expand description

Returns the rollup config for the given chain ID.