diff --git a/test/client/src/lib.rs b/test/client/src/lib.rs index 4888e957d78..b8c69fa6a76 100644 --- a/test/client/src/lib.rs +++ b/test/client/src/lib.rs @@ -22,11 +22,10 @@ use runtime::{ Balance, Block, BlockHashCount, GenesisConfig, Runtime, RuntimeCall, Signature, SignedExtra, SignedPayload, UncheckedExtrinsic, VERSION, }; -use sc_executor::{HeapAllocStrategy, WasmExecutionMethod, WasmExecutor}; +use sc_executor::HeapAllocStrategy; use sc_executor_common::runtime_blob::RuntimeBlob; -use sc_service::client; use sp_blockchain::HeaderBackend; -use sp_core::{sr25519, storage::Storage, Pair}; +use sp_core::{sr25519, Pair}; use sp_io::TestExternalities; use sp_runtime::{generic::Era, BuildStorage, SaturatedConversion}; diff --git a/test/service/src/lib.rs b/test/service/src/lib.rs index 20e7d7f1949..e45ba47f6eb 100644 --- a/test/service/src/lib.rs +++ b/test/service/src/lib.rs @@ -66,8 +66,8 @@ use sc_service::{ BlocksPruning, DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, OffchainWorkerConfig, PruningMode, WasmExecutionMethod, }, - BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role, - RpcHandlers, TFullBackend, TFullClient, TaskManager, + BasePath, ChainSpec as ChainSpecService, Configuration, Error as ServiceError, + PartialComponents, Role, RpcHandlers, TFullBackend, TFullClient, TaskManager, }; use sp_arithmetic::traits::SaturatedConversion; use sp_blockchain::HeaderBackend;