Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
remove unused events and errors in democracy (#9502)
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 authored Aug 5, 2021
1 parent 88a59a0 commit 376712c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions frame/democracy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,6 @@ pub mod pallet {
/// A registered preimage was removed and the deposit collected by the reaper.
/// \[proposal_hash, provider, deposit, reaper\]
PreimageReaped(T::Hash, T::AccountId, BalanceOf<T>, T::AccountId),
/// An \[account\] has been unlocked successfully.
Unlocked(T::AccountId),
/// A proposal \[hash\] has been blacklisted permanently.
Blacklisted(T::Hash),
}
Expand All @@ -554,8 +552,6 @@ pub mod pallet {
ValueLow,
/// Proposal does not exist
ProposalMissing,
/// Unknown index
BadIndex,
/// Cannot cancel the same proposal twice
AlreadyCanceled,
/// Proposal already made
Expand All @@ -570,8 +566,6 @@ pub mod pallet {
NoProposal,
/// Identity may not veto a proposal twice
AlreadyVetoed,
/// Not delegated
NotDelegated,
/// Preimage already noted
DuplicatePreimage,
/// Not imminent
Expand All @@ -588,10 +582,6 @@ pub mod pallet {
PreimageInvalid,
/// No proposals waiting
NoneWaiting,
/// The target account does not have a lock.
NotLocked,
/// The lock on the account to be unlocked has not yet expired.
NotExpired,
/// The given account did not vote on the referendum.
NotVoter,
/// The actor has no permission to conduct the action.
Expand All @@ -613,8 +603,6 @@ pub mod pallet {
WrongUpperBound,
/// Maximum number of votes reached.
MaxVotesReached,
/// The provided witness data is wrong.
InvalidWitness,
/// Maximum number of proposals reached.
TooManyProposals,
}
Expand Down

0 comments on commit 376712c

Please sign in to comment.