Skip to content

Commit

Permalink
fix new warning in nightly (paritytech#14334)
Browse files Browse the repository at this point in the history
* fix new warning

* Too soon

* Explicitly import
  • Loading branch information
gilescope authored and nathanwhit committed Jul 19, 2023
1 parent 03c3bd0 commit c4ff648
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion bin/node/testing/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down
2 changes: 1 addition & 1 deletion client/rpc/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
3 changes: 1 addition & 2 deletions test-utils/runtime/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c4ff648

Please sign in to comment.