difftreelog
feat(chain_spec) depend on runtime feature
in: master
1 file changed
node/cli/src/chain_spec.rsdiffbeforeafterboth66}66}676869#[cfg(not(feature = "unique-runtime"))]70/// PARA_ID for Opal/Quartz71const PARA_ID: u32 = 2095;7273#[cfg(feature = "unique-runtime")]74/// PARA_ID for Unique75const PARA_ID: u32 = 2037;677668pub trait RuntimeIdentification {77pub trait RuntimeIdentification {69 fn runtime_id(&self) -> RuntimeId;78 fn runtime_id(&self) -> RuntimeId;236 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),245 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),237 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),246 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),238 ],247 ],239 2037248 PARA_ID240 )249 )241 },250 },242 // Bootnodes251 // Bootnodes251 // Extensions260 // Extensions252 Extensions {261 Extensions {253 relay_chain: "rococo-dev".into(),262 relay_chain: "rococo-dev".into(),254 para_id: 2037,263 para_id: PARA_ID,255 },264 },256 )265 )257}266}304 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),313 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),305 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),314 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),306 ],315 ],307 2037316 PARA_ID308 )317 )309 },318 },310 // Bootnodes319 // Bootnodes319 // Extensions328 // Extensions320 Extensions {329 Extensions {321 relay_chain: "westend-local".into(),330 relay_chain: "westend-local".into(),322 para_id: 2037,331 para_id: PARA_ID,323 },332 },324 )333 )325}334}