difftreelog
feat enable dev mode for quartz/unique
in: master
1 file changed
node/cli/src/chain_spec.rsdiffbeforeafterboth187 }};187 }};188}188}189189190pub fn development_config() -> OpalChainSpec {190pub fn development_config() -> DefaultChainSpec {191 let mut properties = Map::new();191 let mut properties = Map::new();192 properties.insert("tokenSymbol".into(), opal_runtime::TOKEN_SYMBOL.into());192 properties.insert("tokenSymbol".into(), default_runtime::TOKEN_SYMBOL.into());193 properties.insert("tokenDecimals".into(), 18.into());193 properties.insert("tokenDecimals".into(), 18.into());194 properties.insert("ss58Format".into(), opal_runtime::SS58Prefix::get().into());194 properties.insert(195 "ss58Format".into(),196 default_runtime::SS58Prefix::get().into(),197 );195198196 OpalChainSpec::from_genesis(199 DefaultChainSpec::from_genesis(197 // Name200 // Name201 format!(202 "{}{}",203 default_runtime::RUNTIME_NAME.to_uppercase(),204 if cfg!(feature = "unique-runtime") {205 ""206 } else {198 "OPAL by UNIQUE",207 " by UNIQUE"208 }209 )210 .as_str(),199 // ID211 // ID200 "opal_dev",212 format!("{}_dev", default_runtime::RUNTIME_NAME).as_str(),201 ChainType::Local,213 ChainType::Local,202 move || {214 move || {203 testnet_genesis!(215 testnet_genesis!(204 opal_runtime,216 default_runtime,205 // Sudo account217 // Sudo account206 get_account_id_from_seed::<sr25519::Public>("Alice"),218 get_account_id_from_seed::<sr25519::Public>("Alice"),207 vec![219 vec![