mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Companion for Substrate#14511 (#2821)
* Companion for Substrate#14511 https://github.com/paritytech/substrate/pull/14511 * update lockfile for {"substrate", "polkadot"} --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -19,7 +19,7 @@ use std::{net::SocketAddr, path::PathBuf};
|
||||
use polkadot_service::{ChainSpec, ParaId, PrometheusConfig};
|
||||
use sc_cli::{
|
||||
CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams,
|
||||
Result as CliResult, RuntimeVersion, SharedParams, SubstrateCli,
|
||||
Result as CliResult, SharedParams, SubstrateCli,
|
||||
};
|
||||
use sc_service::BasePath;
|
||||
|
||||
@@ -296,10 +296,6 @@ impl SubstrateCli for TestCollatorCli {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
fn native_runtime_version(_: &Box<dyn ChainSpec>) -> &'static RuntimeVersion {
|
||||
&cumulus_test_service::runtime::VERSION
|
||||
}
|
||||
}
|
||||
|
||||
impl SubstrateCli for RelayChainCli {
|
||||
@@ -337,8 +333,4 @@ impl SubstrateCli for RelayChainCli {
|
||||
<polkadot_cli::Cli as SubstrateCli>::from_iter([RelayChainCli::executable_name()].iter())
|
||||
.load_spec(id)
|
||||
}
|
||||
|
||||
fn native_runtime_version(chain_spec: &Box<dyn ChainSpec>) -> &'static RuntimeVersion {
|
||||
polkadot_cli::Cli::native_runtime_version(chain_spec)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user