aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stBlockHashTest
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-04-19 18:28:03 +0800
committerDimitry <winsvega@mail.ru>2017-04-19 18:28:03 +0800
commit3b90fbfaf0b6180be9276bbd050ac2475b95d949 (patch)
treeb11b36454485f496c92a7bb3a6c2aa060034647c /GeneralStateTests/stBlockHashTest
parent789c43bdbb4cb5913e28f855df35703ac87a40c9 (diff)
downloaddexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.gz
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.zst
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.zip
replace SUICIDE with SELFDESTRUCT
Diffstat (limited to 'GeneralStateTests/stBlockHashTest')
-rw-r--r--GeneralStateTests/stBlockHashTest/blockhash0.json378
-rw-r--r--GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json36
-rw-r--r--GeneralStateTests/stBlockHashTest/blockhashInRange.json100
-rw-r--r--GeneralStateTests/stBlockHashTest/blockhashJIT.json100
-rw-r--r--GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json100
5 files changed, 486 insertions, 228 deletions
diff --git a/GeneralStateTests/stBlockHashTest/blockhash0.json b/GeneralStateTests/stBlockHashTest/blockhash0.json
index 009030991..50bf68617 100644
--- a/GeneralStateTests/stBlockHashTest/blockhash0.json
+++ b/GeneralStateTests/stBlockHashTest/blockhash0.json
@@ -1,24 +1,24 @@
{
"blockhash0" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x174876e800",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -26,16 +26,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -43,14 +43,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -58,16 +58,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -75,14 +75,14 @@
}
},
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -90,16 +90,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -107,14 +107,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -122,16 +122,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -139,7 +139,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -147,7 +147,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -157,14 +157,14 @@
],
"EIP158" : [
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -172,16 +172,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -189,14 +189,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -204,16 +204,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -221,14 +221,14 @@
}
},
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -236,16 +236,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -253,14 +253,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -268,16 +268,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -285,7 +285,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -293,7 +293,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -303,14 +303,14 @@
],
"Frontier" : [
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -318,16 +318,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -335,14 +335,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -350,16 +350,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -367,14 +367,14 @@
}
},
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -382,16 +382,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -399,14 +399,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -414,16 +414,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -431,7 +431,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -439,7 +439,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -449,14 +449,14 @@
],
"Homestead" : [
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -464,16 +464,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -481,14 +481,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -496,16 +496,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -513,14 +513,14 @@
}
},
{
- "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -528,16 +528,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -545,14 +545,14 @@
}
},
{
- "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 1
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
@@ -560,16 +560,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7aba",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -577,7 +577,7 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -585,7 +585,153 @@
}
},
{
- "hash" : "c3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 1
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x600040600055600540600155600440600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e7ab0",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600040600055600540600155600440600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e7aba",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "hash" : "0x7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x600040600055600540600155600440600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e7ab0",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "hash" : "0x589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 1
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600040600055600540600155600440600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e7aba",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 2,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xc3f0b691dd86236f55e8016ca4761c7bdc2c3a62432d0aff06b602874d5102fa",
"indexes" : {
"data" : 0,
"gas" : 2,
@@ -595,16 +741,16 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055600540600155600440600255",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0f4240",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -615,17 +761,17 @@
""
],
"gasLimit" : [
- "285000",
- "100000",
- "6000"
+ "0x045948",
+ "0x0186a0",
+ "0x1770"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10",
- "0"
+ "0x0a",
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json b/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json
index 1abcc0a24..c5dd81be3 100644
--- a/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json
+++ b/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json
@@ -1,17 +1,17 @@
{
"blockhashDOS-sec71" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x05f5e100",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "deaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
+ "hash" : "0xdeaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "deaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
+ "hash" : "0xdeaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "deaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
+ "hash" : "0xdeaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,17 @@
],
"Homestead" : [
{
- "hash" : "deaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
+ "hash" : "0xdeaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xdeaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,16 +61,16 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x61010043035b804050600556",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca00",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -71,14 +81,14 @@
""
],
"gasLimit" : [
- "750000"
+ "0x0b71b0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stBlockHashTest/blockhashInRange.json b/GeneralStateTests/stBlockHashTest/blockhashInRange.json
index 233e460b3..4e135e5b5 100644
--- a/GeneralStateTests/stBlockHashTest/blockhashInRange.json
+++ b/GeneralStateTests/stBlockHashTest/blockhashInRange.json
@@ -1,24 +1,24 @@
{
"blockhashInRange" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x05f5e100",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
+ "hash" : "0xfb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x60004060005560024060015561010040600255",
"nonce" : "0x00",
@@ -26,16 +26,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -45,14 +45,14 @@
],
"EIP158" : [
{
- "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
+ "hash" : "0xfb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x60004060005560024060015561010040600255",
"nonce" : "0x00",
@@ -60,16 +60,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -79,14 +79,14 @@
],
"Frontier" : [
{
- "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
+ "hash" : "0xfb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x60004060005560024060015561010040600255",
"nonce" : "0x00",
@@ -94,16 +94,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -113,14 +113,14 @@
],
"Homestead" : [
{
- "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
+ "hash" : "0xfb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x60004060005560024060015561010040600255",
"nonce" : "0x00",
@@ -128,16 +128,50 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e7ab0",
- "code" : "0x",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xfb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x60004060005560024060015561010040600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e7ab0",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -147,16 +181,16 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x60004060005560024060015561010040600255",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0f4240",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -167,14 +201,14 @@
""
],
"gasLimit" : [
- "285000"
+ "0x045948"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stBlockHashTest/blockhashJIT.json b/GeneralStateTests/stBlockHashTest/blockhashJIT.json
index f37c24c9a..90083ac1c 100644
--- a/GeneralStateTests/stBlockHashTest/blockhashJIT.json
+++ b/GeneralStateTests/stBlockHashTest/blockhashJIT.json
@@ -1,24 +1,24 @@
{
"blockhashJIT" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x174876e800",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "d32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "hash" : "0xd32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x6000406000556801000000000000000140600155",
"nonce" : "0x00",
@@ -26,16 +26,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xb3e4",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e8e52",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -45,14 +45,14 @@
],
"EIP158" : [
{
- "hash" : "d32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "hash" : "0xd32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x6000406000556801000000000000000140600155",
"nonce" : "0x00",
@@ -60,16 +60,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xb3e4",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e8e52",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -79,14 +79,14 @@
],
"Frontier" : [
{
- "hash" : "d32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "hash" : "0xd32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x6000406000556801000000000000000140600155",
"nonce" : "0x00",
@@ -94,16 +94,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xb3e4",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e8e52",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -113,14 +113,14 @@
],
"Homestead" : [
{
- "hash" : "d32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "hash" : "0xd32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x6000406000556801000000000000000140600155",
"nonce" : "0x00",
@@ -128,16 +128,50 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xb3e4",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0e8e52",
- "code" : "0x",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xd32623abb53ca341e9100e60eef122c5ce7063b90893baafd5101803960d51e0",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x6000406000556801000000000000000140600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb3e4",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0e8e52",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -147,16 +181,16 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000406000556801000000000000000140600155",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0f4240",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -167,14 +201,14 @@
""
],
"gasLimit" : [
- "285000"
+ "0x045948"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json b/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json
index 61738890f..3e4870c8c 100644
--- a/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json
+++ b/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json
@@ -1,24 +1,24 @@
{
"blockhashOutOfRange" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x05f5e100",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
+ "hash" : "0x4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
"nonce" : "0x00",
@@ -26,16 +26,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x39f780",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -45,14 +45,14 @@
],
"EIP158" : [
{
- "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
+ "hash" : "0x4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
"nonce" : "0x00",
@@ -60,16 +60,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x39f780",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -79,14 +79,14 @@
],
"Frontier" : [
{
- "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
+ "hash" : "0x4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
"nonce" : "0x00",
@@ -94,16 +94,16 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x39f780",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -113,14 +113,14 @@
],
"Homestead" : [
{
- "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
+ "hash" : "0x4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"postState" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a764000a",
"code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
"nonce" : "0x00",
@@ -128,16 +128,50 @@
"0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
}
},
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0xc786",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x39f780",
- "code" : "0x",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xc786",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x39f780",
+ "code" : "",
"nonce" : "0x01",
"storage" : {
}
@@ -147,16 +181,16 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3abf10",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -167,14 +201,14 @@
""
],
"gasLimit" : [
- "2850000"
+ "0x2b7cd0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}