sc-cli: Remove SubstrateCli::native_runtime_version function (#14511)

The native runtime will be removed in the near future and thus this function will not be required
anymore.

\# Code changes

Downstream users just need to remove `native_runtime_version` from their implementation of the
`SubstrateCli` trait.
This commit is contained in:
Bastian Köcher
2023-07-05 09:38:06 +02:00
committed by GitHub
parent f83fdeab53
commit 1bf2504ebf
6 changed files with 9 additions and 45 deletions
-2
View File
@@ -248,6 +248,4 @@ pub trait SubstrateCli: Sized {
command.init(&Self::support_url(), &Self::impl_version(), logger_hook, &config)?;
Runner::new(config, tokio_runtime, signals)
}
/// Native runtime version.
fn native_runtime_version(chain_spec: &Box<dyn ChainSpec>) -> &'static RuntimeVersion;
}