Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
talhadaar committed Dec 5, 2024
1 parent 84edf22 commit 5a6a769
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pallets/parachain-staking/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -34,9 +32,6 @@ mod upgrade {

use super::*;

#[storage_alias]
type CollatorBlock<T: Config> =
StorageMap<Pallet<T>, Twox64Concat, AccountIdOf<T>, u32, ValueQuery>;
/// Migration implementation that deletes the old reward rate config and changes the staking ID.
pub struct Migrate<T>(sp_std::marker::PhantomData<T>);

Expand Down

0 comments on commit 5a6a769

Please sign in to comment.