update collective events docs to be consistent with changes (#6463)

This commit is contained in:
Alexander Popiak
2020-06-22 18:15:47 +02:00
committed by GitHub
parent 3f0c227d22
commit 05e75f6aaa
+4 -4
View File
@@ -165,11 +165,11 @@ decl_event! {
Approved(Hash), Approved(Hash),
/// A motion was not approved by the required threshold. /// A motion was not approved by the required threshold.
Disapproved(Hash), Disapproved(Hash),
/// A motion was executed; `bool` is true if returned without error. /// A motion was executed; result will be `Ok` if it returned without error.
Executed(Hash, DispatchResult), Executed(Hash, DispatchResult),
/// A single member did some action; `bool` is true if returned without error. /// A single member did some action; result will be `Ok` if it returned without error.
MemberExecuted(Hash, DispatchResult), MemberExecuted(Hash, DispatchResult),
/// A proposal was closed after its duration was up. /// A proposal was closed because its threshold was reached or after its duration was up.
Closed(Hash, MemberCount, MemberCount), Closed(Hash, MemberCount, MemberCount),
} }
} }
@@ -188,7 +188,7 @@ decl_error! {
DuplicateVote, DuplicateVote,
/// Members are already initialized! /// Members are already initialized!
AlreadyInitialized, AlreadyInitialized,
/// The close call is made too early, before the end of the voting. /// The close call was made too early, before the end of the voting.
TooEarly, TooEarly,
/// There can only be a maximum of `MaxProposals` active proposals. /// There can only be a maximum of `MaxProposals` active proposals.
TooManyProposals, TooManyProposals,