create_chain_config

Function create_chain_config 

Source
pub fn create_chain_config(
    chain: Option<Chain>,
    hardforks: &ChainHardforks,
    deposit_contract_address: Option<Address>,
    blob_schedule: BTreeMap<String, BlobParams>,
) -> ChainConfig
Expand description

Creates a [ChainConfig] from the given chain, hardforks, deposit contract address, and blob schedule.