nim-eth/tests/rlp/cases/invalidRLPTest.json

97 lines
2.1 KiB
JSON
Raw Normal View History

2019-02-05 12:01:10 +00:00
{
"int32Overflow": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "bf0f000000000000021111"
},
"int32Overflow2": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "ff0f000000000000021111"
},
"wrongSizeList": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "f80180"
},
"wrongSizeList2": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "f80100"
},
"incorrectLengthInArray": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "b9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df0"
},
"randomRLP": {
"in": "INVALID",
2019-02-05 12:01:10 +00:00
"out": "f861f83eb9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df027b90015002d5ef8325ae4d034df55d4b58d0dfba64d61ddd17be00000b9001a00dae30907045a2f66fa36f2bb8aa9029cbb0b8a7b3b5c435ab331"
},
"bytesShouldBeSingleByte00": {
"in": "INVALID",
"out": "8100"
},
"bytesShouldBeSingleByte01": {
"in": "INVALID",
"out": "8101"
2019-02-05 12:01:10 +00:00
},
"bytesShouldBeSingleByte7F": {
"in": "INVALID",
"out": "817F"
2019-05-30 15:33:59 +00:00
},
"fakelonglist": {
"in": "INVALID",
"out": "ff7fffffffffffffffff"
},
"fakelonglist2": {
"in": "INVALID",
"out": "ff800000000000000000"
},
"fakelongblob": {
"in": "INVALID",
"out": "bf7fffffffffffffffff"
},
"fakelongblob2": {
"in": "INVALID",
"out": "bf800000000000000000"
},
"fakelongblobinlist": {
"in": "INVALID",
"out": "f2bf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
"fakelongblobinlist2": {
"in": "INVALID",
"out": "f2bf80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
},
"fakelonglistinlist": {
"in": "INVALID",
"out": "f2ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
"fakelonglistinlist2": {
"in": "INVALID",
"out": "f2ff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
},
"smallblob1byteshort": {
"in": "INVALID",
"out": "82ff"
},
2019-05-30 15:33:59 +00:00
"longblob1byteshort": {
"in": "INVALID",
"out": "b840ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
2019-02-05 12:01:10 +00:00
}