From 0c1e01056294ebec2d5bf2414be6446575736976 Mon Sep 17 00:00:00 2001 From: NZT48 Date: Wed, 7 Aug 2024 14:46:35 +0000 Subject: [PATCH] Remove commented out code --- node/src/service.rs | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index 8b5a552..797a170 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -37,38 +37,6 @@ use futures::StreamExt; use sc_client_api::BlockchainEvents; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; -/// Extra host functions -#[cfg(feature = "runtime-benchmarks")] -pub type HostFunctions = ( - frame_benchmarking::benchmarking::HostFunctions, - cumulus_client_service::storage_proof_size::HostFunctions, -); - -/// Extra host functions -#[cfg(not(feature = "runtime-benchmarks"))] -pub type HostFunctions = ( - cumulus_client_service::storage_proof_size::HostFunctions, -); - -// /// Native executor type. -// pub struct ParachainNativeExecutor; - -// impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { -// type ExtendHostFunctions = HostFunctions; - -// fn dispatch(method: &str, data: &[u8]) -> Option> { -// neuroweb_runtime::api::dispatch(method, data) -// } - -// fn native_version() -> sc_executor::NativeVersion { -// neuroweb_runtime::native_version() -// } -// } - -// type ParachainExecutor = NativeElseWasmExecutor; - -// type ParachainClient = TFullClient; - type ParachainClient = TFullClient< Block, RuntimeApi,