From 356afa21b239cbb874e0f4cc021d8ec26154c69a Mon Sep 17 00:00:00 2001 From: Nathan Whitaker Date: Wed, 1 Nov 2023 14:11:55 -0700 Subject: [PATCH] Resolve warnings --- runtime/src/lib.rs | 1 - runtime/src/output.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index f8677fe8f5..6b2ef28938 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -30,7 +30,6 @@ use pallet_offchain_task_scheduler::crypto::AuthorityId; use pallet_session::historical as session_historical; use pallet_staking::UseValidatorsMap; pub use pallet_staking_substrate::{self, StakerStatus}; -use parity_scale_codec::Decode; use sp_api::impl_runtime_apis; use sp_consensus_babe as babe_primitives; use sp_core::{crypto::KeyTypeId, ConstU64, Encode, OpaqueMetadata, U256}; diff --git a/runtime/src/output.rs b/runtime/src/output.rs index 6b2e18a1f2..68a874def8 100644 --- a/runtime/src/output.rs +++ b/runtime/src/output.rs @@ -219,6 +219,7 @@ pub const THRESHOLDS: [u64; 198] = [ ]; /// Upper thresholds delimiting the bag list. +#[allow(dead_code)] pub const THRESHOLDS_BALANCES: [u128; 198] = [ 1, 2,