Add wococo-local chain spec (#3509)

This commit is contained in:
Andreas Doerr
2021-07-21 22:19:26 +02:00
committed by GitHub
parent 675f71a882
commit 310aa6f321
2 changed files with 38 additions and 0 deletions
+2
View File
@@ -111,6 +111,8 @@ impl SubstrateCli for Cli {
"wococo" => Box::new(service::chain_spec::wococo_config()?),
#[cfg(feature = "rococo-native")]
"wococo-dev" => Box::new(service::chain_spec::wococo_development_config()?),
#[cfg(feature = "rococo-native")]
"wococo-local" => Box::new(service::chain_spec::wococo_local_testnet_config()?),
#[cfg(not(feature = "rococo-native"))]
name if name.starts_with("wococo-") =>
Err(format!("`{}` only supported with `rococo-native` feature enabled.", name))?,