mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 12:21:32 +00:00
update collective events docs to be consistent with changes (#6463)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user