Skip to content

Commit e1f5e12

Browse files
committed
Fix RLP tests.
1 parent f87ce15 commit e1f5e12

File tree

2 files changed

+808
-284
lines changed

2 files changed

+808
-284
lines changed

rlptest.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
},
66
"shortstring": {
77
"in": "dog",
8-
"out": "43646f67"
8+
"out": "83646f67"
99
},
1010
"longstring": {
1111
"in": "Lorem ipsum dolor sit amet, consectetur adipisicing elit",
12-
"out": "TODO"
12+
"out": "b8384c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e7365637465747572206164697069736963696e6720656c6974"
1313
},
1414
"zero": {
1515
"in": 0,
@@ -23,24 +23,24 @@
2323
"in": 1000,
2424
"out": "8203e8"
2525
},
26-
"bigint": {
27-
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936,
28-
"out": "3821010000000000000000000000000000000000000000000000000000000000000000"
29-
},
30-
"emptylist": {
26+
"emptylist": {
3127
"in": [],
3228
"out": "c0"
3329
},
3430
"stringlist": {
3531
"in": [ "dog", "god", "cat" ],
36-
"out": "8343646f6743676f6443636174"
32+
"out": "cc83646f6783676f6483636174"
3733
},
3834
"multilist": {
3935
"in": [ "zw", [ 4 ], 1 ],
40-
"out": "TODO"
36+
"out": "c6827a77c10401"
4137
},
4238
"listsoflists": {
4339
"in": [ [ [], [] ], [] ],
44-
"out": "c2c2c0c0c0"
45-
}
40+
"out": "c4c2c0c0c0"
41+
},
42+
"xbigint": {
43+
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936,
44+
"out": "3821010000000000000000000000000000000000000000000000000000000000000000"
45+
}
4646
}

0 commit comments

Comments
 (0)