From 259a766825dba0beabb4a61cfd08c3a8cd692bb7 Mon Sep 17 00:00:00 2001 From: Nikhil Saboo Date: Sun, 9 Jun 2024 23:02:47 +0530 Subject: [PATCH] Remove structs under TODO(#968) --- zrml/global-disputes/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/zrml/global-disputes/src/lib.rs b/zrml/global-disputes/src/lib.rs index 4ac07e4c0..59cac30e8 100644 --- a/zrml/global-disputes/src/lib.rs +++ b/zrml/global-disputes/src/lib.rs @@ -80,9 +80,6 @@ mod pallet { pub type LockInfoOf = BoundedVec<(MarketIdOf, BalanceOf), ::MaxGlobalDisputeVotes>; - // TODO(#968): to remove after the storage migration - pub type WinnerInfoOf = OldWinnerInfo, OwnerInfoOf>; - /// The current storage version. const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); const LOG_TARGET: &str = "runtime::zrml-global-disputes"; @@ -181,11 +178,6 @@ mod pallet { pub type GlobalDisputesInfo = StorageMap<_, Twox64Concat, MarketIdOf, GlobalDisputeInfoOf, OptionQuery>; - // TODO(#986): to remove after the storage migration - #[pallet::storage] - pub type Winners = - StorageMap<_, Twox64Concat, MarketIdOf, WinnerInfoOf, OptionQuery>; - #[pallet::event] #[pallet::generate_deposit(fn deposit_event)] pub enum Event