1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126 | {
"_doc": "Boundary verdicts for the validated fields. Each row is the fixture order with ONE field replaced and re-signed, so an acceptance is a real acceptance and a rejection is about the rule and not about a broken signature. `resign: true` means the row is rebuilt and signed at test time from `field`/`value`.",
"amt": [
{
"value": 1,
"accept": true,
"why": "AMT_MIN"
},
{
"value": 0,
"accept": false,
"why": "below AMT_MIN — zero is not a payment"
},
{
"value": -1,
"accept": false,
"why": "negative"
},
{
"value": 1125899906842624,
"accept": true,
"why": "2^50, the exact-double ceiling"
},
{
"value": 1125899906842625,
"accept": false,
"why": "2^50 + 1"
},
{
"value": 1.5,
"accept": false,
"why": "not an integer — amounts are minor units"
},
{
"value": "100",
"accept": false,
"why": "a string"
}
],
"seq": [
{
"value": 1,
"accept": true,
"why": "the first slot"
},
{
"value": 0,
"accept": false,
"why": "sequences start at 1"
},
{
"value": -1,
"accept": false,
"why": "negative"
},
{
"value": 2.5,
"accept": false,
"why": "not an integer"
},
{
"value": 1125899906842625,
"accept": false,
"why": "past the exact-double ceiling"
}
],
"memo": [
{
"value": "",
"accept": true,
"why": "empty is the default"
},
{
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"accept": true,
"why": "MEMO_MAX code points"
},
{
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"accept": false,
"why": "one over"
},
{
"value": "☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕",
"accept": true,
"why": "140 CODE POINTS, not UTF-16 units"
},
{
"value": "a\nb",
"accept": false,
"why": "a control character"
},
{
"value": "a\u0000b",
"accept": false,
"why": "NUL"
},
{
"value": "a\u007fb",
"accept": false,
"why": "DEL"
}
],
"ctx": [
{
"value": "stake:demo",
"accept": true,
"why": "the ordinary case"
},
{
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"accept": true,
"why": "CTX_MAX code points"
},
{
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"accept": false,
"why": "one over"
},
{
"value": "a\tb",
"accept": false,
"why": "a control character"
}
]
}
|