From 5a6a76994412f874429f9d883dcd599946efc076 Mon Sep 17 00:00:00 2001 From: talhadaar Date: Thu, 5 Dec 2024 17:59:28 +0500 Subject: [PATCH] removed unused code --- pallets/parachain-staking/src/migrations.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pallets/parachain-staking/src/migrations.rs b/pallets/parachain-staking/src/migrations.rs index 6a894b8a..6c7a9b55 100644 --- a/pallets/parachain-staking/src/migrations.rs +++ b/pallets/parachain-staking/src/migrations.rs @@ -2,15 +2,13 @@ use crate::{ pallet::{Config, Pallet, OLD_STAKING_ID, STAKING_ID}, - types::{AccountIdOf, Candidate, OldCandidate}, + types::{Candidate, OldCandidate}, CandidatePool, ForceNewRound, Round, }; use frame_support::{ - pallet_prelude::{GetStorageVersion, StorageVersion, ValueQuery}, - storage_alias, + pallet_prelude::{GetStorageVersion, StorageVersion}, traits::{Get, LockableCurrency, WithdrawReasons}, weights::Weight, - Twox64Concat, }; use pallet_balances::Locks; use sp_runtime::Permill; @@ -34,9 +32,6 @@ mod upgrade { use super::*; - #[storage_alias] - type CollatorBlock = - StorageMap, Twox64Concat, AccountIdOf, u32, ValueQuery>; /// Migration implementation that deletes the old reward rate config and changes the staking ID. pub struct Migrate(sp_std::marker::PhantomData);