Fix RLP tests.

This commit is contained in:
Gav Wood 2014-02-28 11:22:49 +00:00
parent f87ce15ad2
commit e1f5e12abb
2 changed files with 808 additions and 284 deletions

View File

@ -5,11 +5,11 @@
}, },
"shortstring": { "shortstring": {
"in": "dog", "in": "dog",
"out": "43646f67" "out": "83646f67"
}, },
"longstring": { "longstring": {
"in": "Lorem ipsum dolor sit amet, consectetur adipisicing elit", "in": "Lorem ipsum dolor sit amet, consectetur adipisicing elit",
"out": "TODO" "out": "b8384c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e7365637465747572206164697069736963696e6720656c6974"
}, },
"zero": { "zero": {
"in": 0, "in": 0,
@ -23,24 +23,24 @@
"in": 1000, "in": 1000,
"out": "8203e8" "out": "8203e8"
}, },
"bigint": { "emptylist": {
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936,
"out": "3821010000000000000000000000000000000000000000000000000000000000000000"
},
"emptylist": {
"in": [], "in": [],
"out": "c0" "out": "c0"
}, },
"stringlist": { "stringlist": {
"in": [ "dog", "god", "cat" ], "in": [ "dog", "god", "cat" ],
"out": "8343646f6743676f6443636174" "out": "cc83646f6783676f6483636174"
}, },
"multilist": { "multilist": {
"in": [ "zw", [ 4 ], 1 ], "in": [ "zw", [ 4 ], 1 ],
"out": "TODO" "out": "c6827a77c10401"
}, },
"listsoflists": { "listsoflists": {
"in": [ [ [], [] ], [] ], "in": [ [ [], [] ], [] ],
"out": "c2c2c0c0c0" "out": "c4c2c0c0c0"
} },
"xbigint": {
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936,
"out": "3821010000000000000000000000000000000000000000000000000000000000000000"
}
} }

File diff suppressed because it is too large Load Diff