Bastian Köcher
5d73e960da
Convert timestamp to unit type wrapper ( #8333 )
...
The timestamp inherent type was up to now just a simple `u64`. This
worked, but doesn't give you that much guarantees at compile time about
the type. This pr changes that by converting this type to a unit type
wrapper, similar to what we have done for `Slot`.
This is required for some future pr that touches quite a lot of the
inherents stuff :)
Besides this unit wrapper type, this pr also moves the `OnTimestampSet`
trait to `frame_support::traits`.
2021-03-11 23:33:34 +01:00
..
2021-03-09 13:38:33 +01:00
2021-02-25 11:43:48 +01:00
2021-03-11 23:33:34 +01:00
2021-02-25 11:43:48 +01:00
2021-02-25 11:43:48 +01:00
2021-03-11 23:33:34 +01:00
2021-03-01 15:29:17 +01:00
2021-03-02 18:23:07 +01:00
2021-03-05 16:08:44 +01:00
2021-03-06 13:42:21 +00:00
2021-03-10 16:31:49 +00:00
2021-03-05 16:08:44 +01:00
2021-03-10 15:28:56 +00:00
2021-03-06 13:42:21 +00:00
2021-03-06 13:42:21 +00:00
2021-03-06 13:42:21 +00:00
2021-03-10 15:28:56 +00:00
2021-02-25 11:43:48 +01:00
2021-03-11 18:04:14 +01:00
2021-03-09 14:03:47 +01:00
2021-03-01 15:29:17 +01:00
2021-03-05 16:08:44 +01:00
2021-03-10 15:28:56 +00:00
2021-03-05 16:08:44 +01:00
2021-03-10 16:31:49 +00:00
2021-02-25 11:43:48 +01:00
2021-03-10 15:28:56 +00:00
2021-02-10 19:23:18 +01:00
2021-03-05 16:08:44 +01:00
2021-02-25 11:43:48 +01:00
2021-03-01 15:29:17 +01:00
2021-03-05 10:56:33 +01:00
2021-03-05 16:08:44 +01:00
2021-03-10 16:31:49 +00:00
2021-02-25 11:43:48 +01:00
2021-03-05 16:08:44 +01:00
2021-02-25 11:43:48 +01:00
2021-03-10 15:28:56 +00:00
2021-03-10 16:31:49 +00:00
2021-03-11 16:22:16 +01:00
2021-02-25 11:43:48 +01:00
2021-03-11 23:33:34 +01:00
2021-03-05 16:08:44 +01:00
2021-03-11 23:33:34 +01:00
2021-03-05 16:08:44 +01:00
2021-02-25 11:43:48 +01:00
2021-03-05 16:08:44 +01:00
2021-02-19 14:52:09 +00:00
2021-03-05 16:08:44 +01:00
2021-03-05 16:08:44 +01:00