From 1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 5 Oct 2016 23:55:47 +0200 Subject: tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1 Two new tests are skipped because they're buggy. Making some newer random state tests work required implementing the 'compressed return value encoding'. --- .../StateTests/RandomTests/st201503181440GO.json | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'tests/files/StateTests/RandomTests/st201503181440GO.json') diff --git a/tests/files/StateTests/RandomTests/st201503181440GO.json b/tests/files/StateTests/RandomTests/st201503181440GO.json index 73afdcfab..33a3fee0b 100755 --- a/tests/files/StateTests/RandomTests/st201503181440GO.json +++ b/tests/files/StateTests/RandomTests/st201503181440GO.json @@ -2,10 +2,10 @@ "randomStatetest" : { "env" : { "currentCoinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5", - "currentDifficulty" : "5623894562375", - "currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "currentNumber" : "0", - "currentTimestamp" : "1", + "currentDifficulty" : "0x051d6a3cd647", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "logs" : [ @@ -13,24 +13,24 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1090727739", + "balance" : "0x41032f3b", "code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000016f05648ce0ad106b7a6f3483379e62876b60005155", - "nonce" : "0", + "nonce" : "0x00", "storage" : { - "0x" : "0x05648ce0ad106b7a6f3483379e62876b" + "0x00" : "0x05648ce0ad106b7a6f3483379e62876b" } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "45072", + "balance" : "0xb010", "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999998909227235", + "balance" : "0x0de0b6b3666020e3", "code" : "0x", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } } @@ -38,23 +38,23 @@ "postStateRoot" : "e0627c8ceadeacfc593531291eefe7d841800d2797f83875fa419a193f18e46b", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0", + "balance" : "0x00", "code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000016f05648ce0ad106b7a6f3483379e62876b60005155", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "46", + "balance" : "0x2e", "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", + "balance" : "0x0de0b6b3a7640000", "code" : "0x", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -62,11 +62,11 @@ "transaction" : { "data" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000016f05648ce0ad106b7a6f3483379e62876b", "gasLimit" : "0x014255f0", - "gasPrice" : "1", - "nonce" : "0", + "gasPrice" : "0x01", + "nonce" : "0x00", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "1090727739" + "value" : "0x41032f3b" } } -} +} \ No newline at end of file -- cgit