Skip to content

Commit

Permalink
Change rlptest.json
Browse files Browse the repository at this point in the history
Remove mediumint and bigint test (loss of precision, the problem also in rlp js library).
  • Loading branch information
sc0Vu committed Jun 10, 2018
1 parent 961dbb8 commit 75230c4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions test/unit/rlptest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"zero": {
"in": 0,
"out": "00"
"out": "80"
},
"smallint": {
"in": 1,
Expand Down Expand Up @@ -63,14 +63,6 @@
"in": 100000,
"out": "830186a0"
},
"mediumint4": {
"in": "83729609699884896815286331701780722",
"out": "8f102030405060708090a0b0c0d0e0f2"
},
"mediumint5": {
"in": "105315505618206987246253880190783558935785933862974822347068935681",
"out": "9c0100020003000400050006000700080009000a000b000c000d000e01"
},
"emptylist": {
"in": [],
"out": "c0"
Expand Down Expand Up @@ -150,9 +142,5 @@
["key4", "val4"]
],
"out" : "ecca846b6579318476616c31ca846b6579328476616c32ca846b6579338476616c33ca846b6579348476616c34"
},
"bigint": {
"in": "115792089237316195423570985008687907853269984665640564039457584007913129639936",
"out": "a1010000000000000000000000000000000000000000000000000000000000000000"
}
}

0 comments on commit 75230c4

Please sign in to comment.