Skip to content

Commit c6dd21f

Browse files
Improve Ragger signed integer test with all type sizes
1 parent 672fc7c commit c6dd21f

1 file changed

Lines changed: 120 additions & 16 deletions

File tree

tests/ragger/eip712_input_files/05-signed_ints-data.json

Lines changed: 120 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,68 @@
88
"message": {
99
"neg256" : "-256",
1010
"pos256" : "256",
11+
"neg248" : "-248",
12+
"pos248" : "248",
13+
"neg240" : "-240",
14+
"pos240" : "240",
15+
"neg232" : "-232",
16+
"pos232" : "232",
17+
"neg224" : "-224",
18+
"pos224" : "224",
19+
"neg216" : "-216",
20+
"pos216" : "216",
21+
"neg208" : "-208",
22+
"pos208" : "208",
23+
"neg200" : "-200",
24+
"pos200" : "200",
25+
"neg192" : "-192",
26+
"pos192" : "192",
27+
"neg184" : "-184",
28+
"pos184" : "184",
29+
"neg176" : "-176",
30+
"pos176" : "176",
31+
"neg168" : "-168",
32+
"pos168" : "168",
33+
"neg160" : "-160",
34+
"pos160" : "160",
35+
"neg152" : "-152",
36+
"pos152" : "152",
37+
"neg144" : "-144",
38+
"pos144" : "144",
39+
"neg136" : "-136",
40+
"pos136" : "136",
1141
"neg128" : "-128",
1242
"pos128" : "128",
13-
"neg64" : "-64",
14-
"pos64" : "64",
15-
"neg32" : "-32",
16-
"pos32" : "32",
17-
"neg16" : "-16",
18-
"pos16" : "16",
19-
"neg8" : "-8",
20-
"pos8" : "8"
43+
"neg120" : "-120",
44+
"pos120" : "120",
45+
"neg112" : "-112",
46+
"pos112" : "112",
47+
"neg104" : "-104",
48+
"pos104" : "104",
49+
"neg96" : "-96",
50+
"pos96" : "96",
51+
"neg88" : "-88",
52+
"pos88" : "88",
53+
"neg80" : "-80",
54+
"pos80" : "80",
55+
"neg72" : "-72",
56+
"pos72" : "72",
57+
"neg64" : "-64",
58+
"pos64" : "64",
59+
"neg56" : "-56",
60+
"pos56" : "56",
61+
"neg48" : "-48",
62+
"pos48" : "48",
63+
"neg40" : "-40",
64+
"pos40" : "40",
65+
"neg32" : "-32",
66+
"pos32" : "32",
67+
"neg24" : "-24",
68+
"pos24" : "24",
69+
"neg16" : "-16",
70+
"pos16" : "16",
71+
"neg8" : "-8",
72+
"pos8" : "8"
2173
},
2274
"primaryType": "Test",
2375
"types": {
@@ -30,16 +82,68 @@
3082
"Test": [
3183
{ "name": "neg256", "type": "int256" },
3284
{ "name": "pos256", "type": "int256" },
85+
{ "name": "neg248", "type": "int248" },
86+
{ "name": "pos248", "type": "int248" },
87+
{ "name": "neg240", "type": "int240" },
88+
{ "name": "pos240", "type": "int240" },
89+
{ "name": "neg232", "type": "int232" },
90+
{ "name": "pos232", "type": "int232" },
91+
{ "name": "neg224", "type": "int224" },
92+
{ "name": "pos224", "type": "int224" },
93+
{ "name": "neg216", "type": "int216" },
94+
{ "name": "pos216", "type": "int216" },
95+
{ "name": "neg208", "type": "int208" },
96+
{ "name": "pos208", "type": "int208" },
97+
{ "name": "neg200", "type": "int200" },
98+
{ "name": "pos200", "type": "int200" },
99+
{ "name": "neg192", "type": "int192" },
100+
{ "name": "pos192", "type": "int192" },
101+
{ "name": "neg184", "type": "int184" },
102+
{ "name": "pos184", "type": "int184" },
103+
{ "name": "neg176", "type": "int176" },
104+
{ "name": "pos176", "type": "int176" },
105+
{ "name": "neg168", "type": "int168" },
106+
{ "name": "pos168", "type": "int168" },
107+
{ "name": "neg160", "type": "int160" },
108+
{ "name": "pos160", "type": "int160" },
109+
{ "name": "neg152", "type": "int152" },
110+
{ "name": "pos152", "type": "int152" },
111+
{ "name": "neg144", "type": "int144" },
112+
{ "name": "pos144", "type": "int144" },
113+
{ "name": "neg136", "type": "int136" },
114+
{ "name": "pos136", "type": "int136" },
33115
{ "name": "neg128", "type": "int128" },
34116
{ "name": "pos128", "type": "int128" },
35-
{ "name": "neg64", "type": "int64" },
36-
{ "name": "pos64", "type": "int64" },
37-
{ "name": "neg32", "type": "int32" },
38-
{ "name": "pos32", "type": "int32" },
39-
{ "name": "neg16", "type": "int16" },
40-
{ "name": "pos16", "type": "int16" },
41-
{ "name": "neg8", "type": "int8" },
42-
{ "name": "pos8", "type": "int8" }
117+
{ "name": "neg120", "type": "int120" },
118+
{ "name": "pos120", "type": "int120" },
119+
{ "name": "neg112", "type": "int112" },
120+
{ "name": "pos112", "type": "int112" },
121+
{ "name": "neg104", "type": "int104" },
122+
{ "name": "pos104", "type": "int104" },
123+
{ "name": "neg96", "type": "int96" },
124+
{ "name": "pos96", "type": "int96" },
125+
{ "name": "neg88", "type": "int88" },
126+
{ "name": "pos88", "type": "int88" },
127+
{ "name": "neg80", "type": "int80" },
128+
{ "name": "pos80", "type": "int80" },
129+
{ "name": "neg72", "type": "int72" },
130+
{ "name": "pos72", "type": "int72" },
131+
{ "name": "neg64", "type": "int64" },
132+
{ "name": "pos64", "type": "int64" },
133+
{ "name": "neg56", "type": "int56" },
134+
{ "name": "pos56", "type": "int56" },
135+
{ "name": "neg48", "type": "int48" },
136+
{ "name": "pos48", "type": "int48" },
137+
{ "name": "neg40", "type": "int40" },
138+
{ "name": "pos40", "type": "int40" },
139+
{ "name": "neg32", "type": "int32" },
140+
{ "name": "pos32", "type": "int32" },
141+
{ "name": "neg24", "type": "int24" },
142+
{ "name": "pos24", "type": "int24" },
143+
{ "name": "neg16", "type": "int16" },
144+
{ "name": "pos16", "type": "int16" },
145+
{ "name": "neg8", "type": "int8" },
146+
{ "name": "pos8", "type": "int8" }
43147
]
44148
}
45149
}

0 commit comments

Comments
 (0)