Function subspace_local_testnet_config

Source
pub fn subspace_local_testnet_config(
    private_evm: bool,
    evm_owner_account: Option<AccountId>,
) -> Result<GenericChainSpec, String>
Expand description

Local testnet config (multivalidator Alice + Bob).

If private_evm is true, contract creation will have an allow list, which is set to Anyone by default. Otherwise, any account can create contracts, and the allow list can’t be changed.

If the EVM owner account isn’t specified, sudo_account will be used.