difftreelog
chore return `DefaultRuntimeExecutor` to fix benchmarks
in: master
2 files changed
node/cli/src/command.rsdiffbeforeafterboth37 cli::{Cli, RelayChainCli, Subcommand},37 cli::{Cli, RelayChainCli, Subcommand},38 service::{new_partial, start_node, start_dev_node},38 service::{new_partial, start_node, start_dev_node},39};39};40#[cfg(feature = "runtime-benchmarks")]41use crate::chain_spec::default_runtime;404241#[cfg(feature = "unique-runtime")]43#[cfg(feature = "unique-runtime")]42use crate::service::UniqueRuntimeExecutor;44use crate::service::UniqueRuntimeExecutor;464847use crate::service::OpalRuntimeExecutor;49use crate::service::OpalRuntimeExecutor;5051#[cfg(feature = "runtime-benchmarks")]52use crate::service::DefaultRuntimeExecutor;485349use codec::Encode;54use codec::Encode;50use cumulus_primitives_core::ParaId;55use cumulus_primitives_core::ParaId;node/cli/src/service.rsdiffbeforeafterboth83/// Opal native executor instance.83/// Opal native executor instance.84pub struct OpalRuntimeExecutor;84pub struct OpalRuntimeExecutor;8586#[cfg(all(feature = "unique-runtime", feature = "runtime-benchmarks"))]87pub type DefaultRuntimeExecutor = UniqueRuntimeExecutor;8889#[cfg(all(90 not(feature = "unique-runtime"),91 feature = "quartz-runtime",92 feature = "runtime-benchmarks"93))]94pub type DefaultRuntimeExecutor = QuartzRuntimeExecutor;9596#[cfg(all(97 not(feature = "unique-runtime"),98 not(feature = "quartz-runtime"),99 feature = "runtime-benchmarks"100))]101pub type DefaultRuntimeExecutor = OpalRuntimeExecutor;8510286#[cfg(feature = "unique-runtime")]103#[cfg(feature = "unique-runtime")]87impl NativeExecutionDispatch for UniqueRuntimeExecutor {104impl NativeExecutionDispatch for UniqueRuntimeExecutor {