mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Quick'n dirty Versi chainspec config. (#5412)
* Quick'n dirty Versi chainspec config. * Right order * Fix wrong variable usage * Fix weird typo. * Update node/service/src/chain_spec.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -132,6 +132,8 @@ impl SubstrateCli for Cli {
|
||||
"versi-dev" => Box::new(service::chain_spec::versi_development_config()?),
|
||||
#[cfg(feature = "rococo-native")]
|
||||
"versi-local" => Box::new(service::chain_spec::versi_local_testnet_config()?),
|
||||
#[cfg(feature = "rococo-native")]
|
||||
"versi-staging" => Box::new(service::chain_spec::versi_staging_testnet_config()?),
|
||||
#[cfg(not(feature = "rococo-native"))]
|
||||
name if name.starts_with("versi-") =>
|
||||
Err(format!("`{}` only supported with `rococo-native` feature enabled.", name))?,
|
||||
|
||||
Reference in New Issue
Block a user