Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
NZT48 committed Aug 7, 2024
1 parent dde2118 commit 0c1e010
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec<u8>> {
// neuroweb_runtime::api::dispatch(method, data)
// }

// fn native_version() -> sc_executor::NativeVersion {
// neuroweb_runtime::native_version()
// }
// }

// type ParachainExecutor = NativeElseWasmExecutor<ParachainNativeExecutor>;

// type ParachainClient = TFullClient<Block, RuntimeApi, ParachainExecutor>;

type ParachainClient = TFullClient<
Block,
RuntimeApi,
Expand Down

0 comments on commit 0c1e010

Please sign in to comment.