Annotated parameter names for events (#1440)

* annotated parameter names for events

* Update runtime/parachains/src/inclusion.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
warfollowsme | ryabina.io
2020-08-20 17:57:30 +03:00
committed by GitHub
parent 8eecdd61b8
commit d2c4e0cc8e
5 changed files with 24 additions and 14 deletions
+3 -3
View File
@@ -154,11 +154,11 @@ decl_error! {
decl_event! {
pub enum Event<T> where <T as frame_system::Trait>::Hash {
/// A candidate was backed.
/// A candidate was backed. [candidate, head_data]
CandidateBacked(CandidateReceipt<Hash>, HeadData),
/// A candidate was included.
/// A candidate was included. [candidate, head_data]
CandidateIncluded(CandidateReceipt<Hash>, HeadData),
/// A candidate timed out.
/// A candidate timed out. [candidate, head_data]
CandidateTimedOut(CandidateReceipt<Hash>, HeadData),
}
}