fix new warning in nightly (#14334)

* fix new warning

* Too soon

* Explicitly import
This commit is contained in:
Squirrel
2023-06-13 08:36:54 +01:00
committed by GitHub
parent 4ba78088d3
commit cadc92b893
4 changed files with 3 additions and 5 deletions
-1
View File
@@ -18,7 +18,6 @@
//! Utilities to build a `TestClient` for `kitchensink-runtime`.
use sc_service::client;
use sp_runtime::BuildStorage;
/// Re-export test-client utilities.
pub use substrate_test_client::*;
+1 -1
View File
@@ -33,7 +33,7 @@ use jsonrpsee::{
types::SubscriptionResult,
};
use sc_rpc_api::{state::ReadProof, DenyUnsafe};
use sc_rpc_api::DenyUnsafe;
use sp_core::{
storage::{PrefixedStorageKey, StorageChangeSet, StorageData, StorageKey},
Bytes,
+1 -1
View File
@@ -319,7 +319,7 @@ use sp_staking::{
use sp_std::{collections::btree_map::BTreeMap, prelude::*};
pub use weights::WeightInfo;
pub use pallet::{pallet::*, *};
pub use pallet::{pallet::*, UseNominatorsAndValidatorsMap, UseValidatorsMap};
pub(crate) const LOG_TARGET: &str = "runtime::staking";
@@ -30,8 +30,7 @@ pub use substrate_test_runtime as runtime;
pub use self::block_builder_ext::BlockBuilderExt;
use sp_core::storage::{ChildInfo, Storage, StorageChild};
use substrate_test_client::sc_executor::WasmExecutor;
use sp_core::storage::ChildInfo;
use substrate_test_runtime::genesismap::GenesisStorageBuilder;
/// A prelude to import in tests.