From 75230c494fbce18b24a1b9b48e6c0b866d535d50 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Sun, 10 Jun 2018 13:47:12 +0800 Subject: [PATCH] Change rlptest.json Remove mediumint and bigint test (loss of precision, the problem also in rlp js library). --- test/unit/rlptest.json | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test/unit/rlptest.json b/test/unit/rlptest.json index c72bcee..a3a4530 100644 --- a/test/unit/rlptest.json +++ b/test/unit/rlptest.json @@ -33,7 +33,7 @@ }, "zero": { "in": 0, - "out": "00" + "out": "80" }, "smallint": { "in": 1, @@ -63,14 +63,6 @@ "in": 100000, "out": "830186a0" }, - "mediumint4": { - "in": "83729609699884896815286331701780722", - "out": "8f102030405060708090a0b0c0d0e0f2" - }, - "mediumint5": { - "in": "105315505618206987246253880190783558935785933862974822347068935681", - "out": "9c0100020003000400050006000700080009000a000b000c000d000e01" - }, "emptylist": { "in": [], "out": "c0" @@ -150,9 +142,5 @@ ["key4", "val4"] ], "out" : "ecca846b6579318476616c31ca846b6579328476616c32ca846b6579338476616c33ca846b6579348476616c34" - }, - "bigint": { - "in": "115792089237316195423570985008687907853269984665640564039457584007913129639936", - "out": "a1010000000000000000000000000000000000000000000000000000000000000000" } } \ No newline at end of file