diff --git a/node/src/client.rs b/node/src/client.rs index dd7dfda45..809b41e30 100644 --- a/node/src/client.rs +++ b/node/src/client.rs @@ -4,13 +4,15 @@ use sc_executor::WasmExecutor; /// Full backend. pub type FullBackend = sc_service::TFullBackend; /// Full client. -pub type FullClient = sc_service::TFullClient>; +pub type FullClient = sc_service::TFullClient; /// Always enable runtime benchmark host functions, the genesis state /// was built with them so we're stuck with them forever. /// /// They're just a noop, never actually get used if the runtime was not compiled with /// `runtime-benchmarks`. -type HostFunctions = ( +pub type HostFunctions = ( sp_io::SubstrateHostFunctions, + sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, frame_benchmarking::benchmarking::HostFunctions, ); +pub type RuntimeExecutor = WasmExecutor; diff --git a/node/src/service.rs b/node/src/service.rs index 3c4c0f020..fa918390f 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -19,7 +19,7 @@ use std::{sync::Arc, time::Duration}; use substrate_prometheus_endpoint::Registry; use crate::cli::Sealing; -use crate::client::{FullBackend, FullClient}; +use crate::client::{FullBackend, FullClient, HostFunctions, RuntimeExecutor}; use crate::ethereum::{ db_config_dir, new_frontier_partial, spawn_frontier_tasks, BackendType, EthConfiguration, FrontierBackend, FrontierBlockImport, FrontierPartialComponents, StorageOverride,