Skip to content
Snippets Groups Projects
Unverified Commit 035211d7 authored by Przemek Rzad's avatar Przemek Rzad Committed by GitHub
Browse files

Remove unused feature gated code from the minimal template (#5237)

- Progresses https://github.com/paritytech/polkadot-sdk/issues/5226

There is no actual `try-runtime` or `runtime-benchmarks` functionality
in the minimal template at the moment.
parent 0cc3e170
No related merge requests found
Pipeline #487475 waiting for manual action with stages
in 1 hour, 21 minutes, and 35 seconds
......@@ -23,9 +23,6 @@ use crate::{
use sc_cli::SubstrateCli;
use sc_service::PartialComponents;
#[cfg(feature = "try-runtime")]
use try_runtime_cli::block_building_info::timestamp_with_aura_info;
impl SubstrateCli for Cli {
fn impl_name() -> String {
"Substrate Node".into()
......
......@@ -27,11 +27,6 @@ use std::sync::Arc;
use crate::cli::Consensus;
#[cfg(feature = "runtime-benchmarks")]
type HostFunctions =
(sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions);
#[cfg(not(feature = "runtime-benchmarks"))]
type HostFunctions = sp_io::SubstrateHostFunctions;
#[docify::export]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment