diff --git a/substrate/frame/staking/src/benchmarking.rs b/substrate/frame/staking/src/benchmarking.rs index 509037f16740..cd27915f3887 100644 --- a/substrate/frame/staking/src/benchmarking.rs +++ b/substrate/frame/staking/src/benchmarking.rs @@ -22,9 +22,7 @@ use crate::{asset, ConfigOp, Pallet as Staking}; use testing_utils::*; use codec::Decode; -use frame_election_provider_support::{ - bounds::DataProviderBounds, ElectionProviderBase, SortedListProvider, -}; +use frame_election_provider_support::{bounds::DataProviderBounds, SortedListProvider}; use frame_support::{ assert_ok, pallet_prelude::*, diff --git a/substrate/frame/staking/src/migrations.rs b/substrate/frame/staking/src/migrations.rs index 7f999a22233e..c52501cbcef4 100644 --- a/substrate/frame/staking/src/migrations.rs +++ b/substrate/frame/staking/src/migrations.rs @@ -18,7 +18,7 @@ //! [CHANGELOG.md](https://github.com/paritytech/polkadot-sdk/blob/master/substrate/frame/staking/CHANGELOG.md). use super::*; -use frame_election_provider_support::{ElectionProviderBase, SortedListProvider}; +use frame_election_provider_support::SortedListProvider; use frame_support::{ migrations::VersionedMigration, pallet_prelude::{NMapKey, OptionQuery, ValueQuery},