Skip to content

Commit 510c422

Browse files
committed
Cleanup imports
1 parent 21527a9 commit 510c422

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

node/src/service.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.
22
33
use crate::cli::Sealing;
4-
use crate::client::{FullBackend, FullClient, RuntimeApiCollection};
4+
use crate::client::{FullBackend, FullClient};
55
use crate::ethereum::{
66
db_config_dir, new_frontier_partial, spawn_frontier_tasks, BackendType, EthConfiguration,
77
FrontierBackend, FrontierBlockImport, FrontierPartialComponents, StorageOverride,
@@ -12,23 +12,21 @@ use sc_client_api::{Backend as BackendT, BlockBackend};
1212
use sc_consensus::{BasicQueue, BoxBlockImport};
1313
use sc_consensus_grandpa::BlockNumberOps;
1414
use sc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging;
15-
use sc_executor::HostFunctions as HostFunctionsT;
1615
use sc_network_sync::strategy::warp::{WarpSyncConfig, WarpSyncProvider};
1716
use sc_service::{error::Error as ServiceError, Configuration, PartialComponents, TaskManager};
1817
use sc_telemetry::{log, Telemetry, TelemetryHandle, TelemetryWorker};
1918
use sc_transaction_pool::FullPool;
2019
use sc_transaction_pool_api::OffchainTransactionPoolFactory;
21-
use sp_api::ConstructRuntimeApi;
22-
use sp_consensus_aura::sr25519::{AuthorityId as AuraId, AuthorityPair as AuraPair};
23-
use sp_core::{H256, U256};
20+
use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;
21+
use sp_core::U256;
2422
use sp_runtime::traits::{Block as BlockT, NumberFor};
2523
use std::{cell::RefCell, path::Path};
2624
use std::{sync::Arc, time::Duration};
2725
use substrate_prometheus_endpoint::Registry;
2826

2927
// Runtime
3028
use node_subtensor_runtime::{
31-
opaque::Block, AccountId, Balance, Nonce, RuntimeApi, TransactionConverter,
29+
opaque::Block, RuntimeApi, TransactionConverter,
3230
};
3331

3432
/// The minimum period of blocks on which justifications will be

0 commit comments

Comments
 (0)