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

97 lines
2.1 KiB
JSON

{
"int32Overflow": {
"in": "INVALID",
"out": "bf0f000000000000021111"
},
"int32Overflow2": {
"in": "INVALID",
"out": "ff0f000000000000021111"
},
"wrongSizeList": {
"in": "INVALID",
"out": "f80180"
},
"wrongSizeList2": {
"in": "INVALID",
"out": "f80100"
},
"incorrectLengthInArray": {
"in": "INVALID",
"out": "b9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df0"
},
"randomRLP": {
"in": "INVALID",
"out": "f861f83eb9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df027b90015002d5ef8325ae4d034df55d4b58d0dfba64d61ddd17be00000b9001a00dae30907045a2f66fa36f2bb8aa9029cbb0b8a7b3b5c435ab331"
},
"bytesShouldBeSingleByte00": {
"in": "INVALID",
"out": "8100"
},
"bytesShouldBeSingleByte01": {
"in": "INVALID",
"out": "8101"
},
"bytesShouldBeSingleByte7F": {
"in": "INVALID",
"out": "817F"
},
"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"
},
"longblob1byteshort": {
"in": "INVALID",
"out": "b840ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
}