Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

fix new warning in nightly #14334

Merged
merged 4 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 1 addition & 0 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ pub mod migrations;
pub mod slashing;
pub mod weights;

// TODO: set #[allow(hidden_glob_reexports)] once stable understands this term.
gilescope marked this conversation as resolved.
Show resolved Hide resolved
gilescope marked this conversation as resolved.
Show resolved Hide resolved
mod pallet;

use codec::{Decode, Encode, HasCompact, MaxEncodedLen};
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