File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ impl TryFrom<Metadata> for EventsDecoder {
96
96
decoder. register_type_size :: < u32 > ( "MemberCount" ) ?;
97
97
decoder. register_type_size :: < crate :: AccountId > ( "AccountId" ) ?;
98
98
decoder. register_type_size :: < crate :: BlockNumber > ( "BlockNumber" ) ?;
99
+ decoder. register_type_size :: < crate :: Moment > ( "Moment" ) ?;
99
100
decoder. register_type_size :: < crate :: Hash > ( "Hash" ) ?;
100
101
decoder. register_type_size :: < crate :: Balance > ( "Balance" ) ?;
101
102
// VoteThreshold enum index
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ use sp_runtime::{AccountId32 as AccountId, MultiSignature};
77
77
pub use sp_core:: H256 as Hash ;
78
78
/// The block number type used in this runtime.
79
79
pub type BlockNumber = u64 ;
80
+ /// The timestamp moment type used in this runtime.
81
+ pub type Moment = u64 ;
80
82
/// Index of a transaction.
81
83
//fixme: make generic
82
84
pub type Index = u32 ;
You can’t perform that action at this time.
0 commit comments