pub fn development_config() -> Result<CalcuChainSpec, String> {
    let wasm_binary = WASM_BINARY.ok_or("Local test wasm not available")?;

    Ok(CalcuChainSpec::from_genesis(
        "Development",
        "dev",
        ChainType::Development,
        move || testnet_genesis(
            wasm_binary,
            vec![
                get_authority_keys_from_seed("Alice")
            ],
            get_account_id_from_seed::<sr25519::Public>("Alice"),
            vec![
                get_account_id_from_seed::<sr25519::Public>("Alice"),
                get_account_id_from_seed::<sr25519::Public>("Bob"),
                get_account_id_from_seed::<sr25519::Public>("Charlie"),
                get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
                get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
                get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
            ],
            true,
        ),
        vec![],
        None,
        Some(DEFAULT_PROTOCOL_ID),
        None,
        Default::default()
    ))
}
/// Calcu development config (single validator Alice)
Calcu development config (single validator Alice)
Calcu development config ( single validator Alice )
pub fn development_config() -> Result<CalcuChainSpec, String> {
    let wasm_binary = WASM_BINARY.ok_or("Local test wasm not available")?;
    Ok(CalcuChainSpec::from_genesis(
        "Development",
        "dev",
        ChainType::Development,
        move || testnet_genesis(
            wasm_binary,
            vec![
                get_authority_keys_from_seed("Alice")
            ],
            get_account_id_from_seed::<sr25519::Public>("Alice"),
            vec![
                get_account_id_from_seed::<sr25519::Public>("Alice"),
                get_account_id_from_seed::<sr25519::Public>("Bob"),
                get_account_id_from_seed::<sr25519::Public>("Charlie"),
                get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
                get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
                get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
            ],
            true,
        ),
        vec![],
        None,
        Some(DEFAULT_PROTOCOL_ID),
        None,
        Default::default()
    ))
}
pub fn development_config ( ) -> Result < CalcuChainSpec , String > { let wasm_binary = WASM_BINARY . ok_or ( " " ) ? ; Ok ( CalcuChainSpec :: from_genesis ( " " , " " , ChainType :: Development , move | | testnet_genesis ( wasm_binary , vec ! [ get_authority_keys_from_seed ( " " ) ] , get_account_id_from_seed :: < sr25519 :: Public > ( " " ) , vec ! [ get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) get_account_id_from_seed sr25519 Public ( " " ) ] , true , ) , vec ! [ ] , None , Some ( DEFAULT_PROTOCOL_ID ) , None , Default :: default ( ) ) ) }
Calcu development config (single validator Alice)
Calcu development config ( single validator Alice )