aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stBlockHashTest.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/stBlockHashTest.json
parent2acb9a6ea7ddab541122ede96f2275598ae36931 (diff)
downloadgo-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.gz
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/stBlockHashTest.json')
-rwxr-xr-xtests/files/StateTests/stBlockHashTest.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/files/StateTests/stBlockHashTest.json b/tests/files/StateTests/stBlockHashTest.json
index 1eb7194c5..115996b94 100755
--- a/tests/files/StateTests/stBlockHashTest.json
+++ b/tests/files/StateTests/stBlockHashTest.json
@@ -190,6 +190,69 @@
"value" : "0x0a"
}
},
+ "blockhashJIT" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x174876e800",
+ "currentNumber" : "0x05",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x6000406000556801000000000000000140600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb3e4",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e8e52",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "d32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6000406000556801000000000000000140600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0f4240",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x045948",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0x0a"
+ }
+ },
"blockhashOutOfRange" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",