aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/RandomTests/st201504101754PYTHON.json
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-06 05:55:47 +0800
committerFelix Lange <fjl@twurst.com>2016-10-06 21:36:21 +0800
commit1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4 (patch)
tree0d8d9cd20dc8584599209cbce1cffae0b0e0516d /tests/files/StateTests/RandomTests/st201504101754PYTHON.json
parent2acb9a6ea7ddab541122ede96f2275598ae36931 (diff)
downloadgo-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.gz
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.bz2
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.lz
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.xz
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.zst
go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.zip
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'.
Diffstat (limited to 'tests/files/StateTests/RandomTests/st201504101754PYTHON.json')
-rwxr-xr-xtests/files/StateTests/RandomTests/st201504101754PYTHON.json40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/files/StateTests/RandomTests/st201504101754PYTHON.json b/tests/files/StateTests/RandomTests/st201504101754PYTHON.json
index b67527889..e93f343f4 100755
--- a/tests/files/StateTests/RandomTests/st201504101754PYTHON.json
+++ b/tests/files/StateTests/RandomTests/st201504101754PYTHON.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,23 +13,23 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1472986584",
+ "balance" : "0x57cbfdd8",
"code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b5067f0000000000000000000000000000000000000000000000000000000000000000407f000000000000000000000000000000000000000000000000000000000000c350427f00000000000000000000000000000000000000000000000000000000000000013a0960005155",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
- "balance" : "30179",
+ "balance" : "0x75e3",
"code" : "0x6000355415600957005b60203560003555",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999998526983283",
+ "balance" : "0x0de0b6b34f978c73",
"code" : "0x",
- "nonce" : "1",
+ "nonce" : "0x01",
"storage" : {
}
}
@@ -37,23 +37,23 @@
"postStateRoot" : "8142eea848215059272c6f827e23f5c2975fa53c8b128e91eb84fdbe876394ec",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0",
+ "balance" : "0x00",
"code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b5067f0000000000000000000000000000000000000000000000000000000000000000407f000000000000000000000000000000000000000000000000000000000000c350427f00000000000000000000000000000000000000000000000000000000000000013a0960005155",
- "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" : {
}
}
@@ -61,11 +61,11 @@
"transaction" : {
"data" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b5067f0000000000000000000000000000000000000000000000000000000000000000407f000000000000000000000000000000000000000000000000000000000000c350427f00000000000000000000000000000000000000000000000000000000000000013a09",
"gasLimit" : "0x46cdc800",
- "gasPrice" : "1",
- "nonce" : "0",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "1472986584"
+ "value" : "0x57cbfdd8"
}
}
-}
+} \ No newline at end of file