Skip to content

Commit 7b0bea3

Browse files
committed
fixing more warings
1 parent 68aaf9b commit 7b0bea3

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

cumulus/client/consensus/aura/src/collators/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ mod tests {
387387
fn build_block(client: &Client, included: Hash) -> (Block, StorageChanges<Block>) {
388388
let sproof = sproof_with_parent_by_hash(client, included);
389389
let block_builder = client.init_block_builder(None, sproof).block_builder;
390-
let (block, storage_changes, _) = block_builder.build().unwrap().into_inner();
390+
let (block, storage_changes) = block_builder.build().unwrap().into_inner();
391391
(block, StorageChanges::Changes(storage_changes))
392392
}
393393

cumulus/client/consensus/common/src/level_monitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// You should have received a copy of the GNU General Public License
1616
// along with Cumulus. If not, see <https://www.gnu.org/licenses/>.
1717

18-
use sc_client_api::{blockchain::Backend as _, Backend, HeaderBackend as _};
18+
use sc_client_api::{Backend, HeaderBackend as _};
1919
use sp_blockchain::{HashAndNumber, HeaderMetadata, TreeRoute};
2020
use sp_runtime::traits::{Block as BlockT, NumberFor, One, Saturating, UniqueSaturatedInto, Zero};
2121
use std::{

substrate/client/rpc-spec-v2/src/archive/archive.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ use sc_client_api::{
4343
};
4444
use sc_rpc::utils::Subscription;
4545
use sp_api::{CallApiAt, CallContext};
46-
use sp_blockchain::{
47-
Backend as BlockChainBackend, Error as BlockChainError, HeaderBackend, HeaderMetadata,
48-
};
46+
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
4947
use sp_core::{Bytes, U256};
5048
use sp_runtime::{
5149
traits::{Block as BlockT, Header as HeaderT, NumberFor},

substrate/client/rpc-spec-v2/src/chain_head/chain_head_follow.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ use sc_client_api::{
3838
use sc_rpc::utils::Subscription;
3939
use schnellru::{ByLength, LruMap};
4040
use sp_api::CallApiAt;
41-
use sp_blockchain::{
42-
Backend as BlockChainBackend, Error as BlockChainError, HeaderBackend, HeaderMetadata, Info,
43-
};
41+
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata, Info};
4442
use sp_runtime::{
4543
traits::{Block as BlockT, Header as HeaderT, NumberFor},
4644
SaturatedConversion, Saturating,

0 commit comments

Comments
 (0)