diff --git a/frame/democracy/src/lib.rs b/frame/democracy/src/lib.rs index 65bc483d2e5b7..2f955b70ab42b 100644 --- a/frame/democracy/src/lib.rs +++ b/frame/democracy/src/lib.rs @@ -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::AccountId), - /// An \[account\] has been unlocked successfully. - Unlocked(T::AccountId), /// A proposal \[hash\] has been blacklisted permanently. Blacklisted(T::Hash), } @@ -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 @@ -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 @@ -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. @@ -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, }