Skip to content

Commit

Permalink
Remove structs under TODO(#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
saboonikhil committed Jun 9, 2024
1 parent 07afe1a commit 259a766
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions zrml/global-disputes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ mod pallet {
pub type LockInfoOf<T> =
BoundedVec<(MarketIdOf<T>, BalanceOf<T>), <T as Config>::MaxGlobalDisputeVotes>;

// TODO(#968): to remove after the storage migration
pub type WinnerInfoOf<T> = OldWinnerInfo<BalanceOf<T>, OwnerInfoOf<T>>;

/// The current storage version.
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);
const LOG_TARGET: &str = "runtime::zrml-global-disputes";
Expand Down Expand Up @@ -181,11 +178,6 @@ mod pallet {
pub type GlobalDisputesInfo<T: Config> =
StorageMap<_, Twox64Concat, MarketIdOf<T>, GlobalDisputeInfoOf<T>, OptionQuery>;

// TODO(#986): to remove after the storage migration
#[pallet::storage]
pub type Winners<T: Config> =
StorageMap<_, Twox64Concat, MarketIdOf<T>, WinnerInfoOf<T>, OptionQuery>;

#[pallet::event]
#[pallet::generate_deposit(fn deposit_event)]
pub enum Event<T>
Expand Down

0 comments on commit 259a766

Please sign in to comment.