Skip to content

Commit 0eb1cdf

Browse files
committed
Suggestions
1 parent 481ab0e commit 0eb1cdf

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

ouroboros-consensus-cardano/cddl/base.cddl

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ hash = bstr .size 32
4848
relativeTime = int
4949

5050
;; Base word types
51-
word8 = 0..255
52-
word32 = 0..4294967295
53-
word64 = 0..18446744073709551615
51+
word8 = uint .size 1
52+
word32 = unit .size 4
53+
word64 = unit .size 8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
query = 1
2-
result = time
2+
result = utctime
3+
4+
utctime = [year, dayOfYear, timeOfDayPico]
5+
year = bigint
6+
dayOfYear = int
7+
timeOfDayPico = bigint

0 commit comments

Comments
 (0)