aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stRefundTest
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/stRefundTest
parent789c43bdbb4cb5913e28f855df35703ac87a40c9 (diff)
downloaddexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.gz
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.bz2
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.lz
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.xz
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.zst
dexon-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.zip
replace SUICIDE with SELFDESTRUCT
Diffstat (limited to 'GeneralStateTests/stRefundTest')
-rw-r--r--GeneralStateTests/stRefundTest/refund50_1.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund50_2.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund50percentCap.json130
-rw-r--r--GeneralStateTests/stRefundTest/refund600.json126
-rw-r--r--GeneralStateTests/stRefundTest/refundSuicide50procentCap.json40
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallA.json30
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallA_OOG.json30
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallA_notEnoughGasInCall.json30
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallToSuicideNoStorage.json40
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallToSuicideStorage.json40
-rw-r--r--GeneralStateTests/stRefundTest/refund_CallToSuicideTwice.json40
-rw-r--r--GeneralStateTests/stRefundTest/refund_NoOOG_1.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_OOG.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_TxToSuicide.json40
-rw-r--r--GeneralStateTests/stRefundTest/refund_TxToSuicideOOG.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_changeNonZeroStorage.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_getEtherBack.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_multimpleSuicide.json28
-rw-r--r--GeneralStateTests/stRefundTest/refund_singleSuicide.json28
19 files changed, 497 insertions, 301 deletions
diff --git a/GeneralStateTests/stRefundTest/refund50_1.json b/GeneralStateTests/stRefundTest/refund50_1.json
index 43dc59f83..909b74a36 100644
--- a/GeneralStateTests/stRefundTest/refund50_1.json
+++ b/GeneralStateTests/stRefundTest/refund50_1.json
@@ -1,17 +1,17 @@
{
"refund50_1" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "hash" : "0xb0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "hash" : "0xb0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "hash" : "0xb0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "hash" : "0xb0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "hash" : "0xb0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x60006001556000600255600060035560006004556000600555",
"nonce" : "0x00",
@@ -73,9 +73,9 @@
"0x05" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -86,14 +86,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund50_2.json b/GeneralStateTests/stRefundTest/refund50_2.json
index 36e70c551..e45cd5443 100644
--- a/GeneralStateTests/stRefundTest/refund50_2.json
+++ b/GeneralStateTests/stRefundTest/refund50_2.json
@@ -1,17 +1,17 @@
{
"refund50_2" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "hash" : "0x87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "hash" : "0x87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "hash" : "0x87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "hash" : "0x87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "hash" : "0x87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6001600a556001600b5560006001556000600255600060035560006004556000600555",
"nonce" : "0x00",
@@ -73,9 +73,9 @@
"0x05" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -86,14 +86,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund50percentCap.json b/GeneralStateTests/stRefundTest/refund50percentCap.json
index 64b6cf490..1828946b8 100644
--- a/GeneralStateTests/stRefundTest/refund50percentCap.json
+++ b/GeneralStateTests/stRefundTest/refund50percentCap.json
@@ -1,57 +1,157 @@
{
"refund50percentCap" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "d27a6d9b1da7ee2474413253621bd0e145e04f4a375ec62f3330173caf3854d5",
+ "hash" : "0x6991ae521e7e1d6d7750429e0883daf7fbb898d06a7a0bf70e95193ba314e33d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb2a7",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xd3f9",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"EIP158" : [
{
- "hash" : "9a866458681a832830dd48849d51940a4d835897d7d7481d3ba9b46b6bb00ebc",
+ "hash" : "0x5dc1d4933650bbb07cb3850b8ab6a47ed69d60d3e220cfe14bcd3cf3fdbe2fe9",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb2bb",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xd3e5",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Frontier" : [
{
- "hash" : "66b43c34731b76309714e8ebbcd740082785e5180c7c6a28105e985cc4fef83a",
+ "hash" : "0x6b8cb17a93315e8736d19126421e6d902877b80c26442a22b99dbf4ce1c063f4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb1e9",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xd4b7",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Homestead" : [
{
- "hash" : "66b43c34731b76309714e8ebbcd740082785e5180c7c6a28105e985cc4fef83a",
+ "hash" : "0x6b8cb17a93315e8736d19126421e6d902877b80c26442a22b99dbf4ce1c063f4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xb1e9",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xd4b7",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Metropolis" : [
{
- "hash" : "9a866458681a832830dd48849d51940a4d835897d7d7481d3ba9b46b6bb00ebc",
+ "hash" : "0x5dc1d4933650bbb07cb3850b8ab6a47ed69d60d3e220cfe14bcd3cf3fdbe2fe9",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,9 +161,9 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
- "code" : "0x600154506002545060ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "code" : "0x60ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x01",
@@ -74,9 +174,9 @@
"0x06" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -87,14 +187,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund600.json b/GeneralStateTests/stRefundTest/refund600.json
index aea1ec665..2648fa754 100644
--- a/GeneralStateTests/stRefundTest/refund600.json
+++ b/GeneralStateTests/stRefundTest/refund600.json
@@ -1,57 +1,153 @@
{
"refund600" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "8c0ff698efea55f245a46aecfae9ce755781b856920b29b38dc198c05f88b058",
+ "hash" : "0x370547e05d6e27ff92e21369072a418842438071d30790d09bea87c17e69828a",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x9560",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xf140",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"EIP158" : [
{
- "hash" : "2556bc8f45d770a17481726751babca7c8e280b2275da7a4bb3def1368a59691",
+ "hash" : "0xb17757d3d6ac1ae9cd042db317fec1ed386ff43fede64a631be9628977c3a76b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x9588",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xf118",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Frontier" : [
{
- "hash" : "a880188f4bdc7256bb8fb3dd086146bd1a768bea9568c6a0bb03689df1ef41fe",
+ "hash" : "0x97a63e88dde1aba3e542f3f9fb3170fc071631900e422b2316bd585ce4ef591b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x94a2",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xf1fe",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Homestead" : [
{
- "hash" : "a880188f4bdc7256bb8fb3dd086146bd1a768bea9568c6a0bb03689df1ef41fe",
+ "hash" : "0x97a63e88dde1aba3e542f3f9fb3170fc071631900e422b2316bd585ce4ef591b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x0b" : "0x0de0b6b3a7640000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x94a2",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xf1fe",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
}
}
],
"Metropolis" : [
{
- "hash" : "2556bc8f45d770a17481726751babca7c8e280b2275da7a4bb3def1368a59691",
+ "hash" : "0xb17757d3d6ac1ae9cd042db317fec1ed386ff43fede64a631be9628977c3a76b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,9 +157,9 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
- "code" : "0x600154506002545061ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
+ "code" : "0x61ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x01",
@@ -74,9 +170,9 @@
"0x06" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -87,14 +183,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refundSuicide50procentCap.json b/GeneralStateTests/stRefundTest/refundSuicide50procentCap.json
index 0f0c21688..f65914749 100644
--- a/GeneralStateTests/stRefundTest/refundSuicide50procentCap.json
+++ b/GeneralStateTests/stRefundTest/refundSuicide50procentCap.json
@@ -1,17 +1,17 @@
{
"refundSuicide50procentCap" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
+ "hash" : "0x998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -19,7 +19,7 @@
}
},
{
- "hash" : "1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
+ "hash" : "0x1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -29,7 +29,7 @@
],
"EIP158" : [
{
- "hash" : "998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
+ "hash" : "0x998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -37,7 +37,7 @@
}
},
{
- "hash" : "1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
+ "hash" : "0x1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -47,7 +47,7 @@
],
"Frontier" : [
{
- "hash" : "8c91c8617b0a81c6e83299b207ab29fed428ef8196382620506086d051b440cd",
+ "hash" : "0x8c91c8617b0a81c6e83299b207ab29fed428ef8196382620506086d051b440cd",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -55,7 +55,7 @@
}
},
{
- "hash" : "9d832422b810e981abf1a62ccf61ff5a030f763e9fdb97dc7a0044c9e4246473",
+ "hash" : "0x9d832422b810e981abf1a62ccf61ff5a030f763e9fdb97dc7a0044c9e4246473",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -65,7 +65,7 @@
],
"Homestead" : [
{
- "hash" : "8c91c8617b0a81c6e83299b207ab29fed428ef8196382620506086d051b440cd",
+ "hash" : "0x8c91c8617b0a81c6e83299b207ab29fed428ef8196382620506086d051b440cd",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -73,7 +73,7 @@
}
},
{
- "hash" : "9d832422b810e981abf1a62ccf61ff5a030f763e9fdb97dc7a0044c9e4246473",
+ "hash" : "0x9d832422b810e981abf1a62ccf61ff5a030f763e9fdb97dc7a0044c9e4246473",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -83,7 +83,7 @@
],
"Metropolis" : [
{
- "hash" : "998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
+ "hash" : "0x998d7e2c48aff9cff42c4523286cb54ff41e7c95180fffc3edfa578442c1df49",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -91,7 +91,7 @@
}
},
{
- "hash" : "1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
+ "hash" : "0x1e77c7b31e23ec766e220bcc32285e817d14ec7015d9622a993931c76bb33cb3",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -101,7 +101,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa600035f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755",
"nonce" : "0x00",
@@ -116,14 +116,14 @@
"0x08" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x989680",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -137,14 +137,14 @@
"0x0000000000000000000000000000000000000000000000000000000000010000"
],
"gasLimit" : [
- "10000000"
+ "0x989680"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallA.json b/GeneralStateTests/stRefundTest/refund_CallA.json
index 37bb45654..d99f80dfb 100644
--- a/GeneralStateTests/stRefundTest/refund_CallA.json
+++ b/GeneralStateTests/stRefundTest/refund_CallA.json
@@ -1,17 +1,17 @@
{
"refund_CallA" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "c27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
+ "hash" : "0xc27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "c27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
+ "hash" : "0xc27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "2a379a44a3742aa7fa1abc25a43678a54e1dd0f03ac34a40715314cd09855773",
+ "hash" : "0x2a379a44a3742aa7fa1abc25a43678a54e1dd0f03ac34a40715314cd09855773",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "2a379a44a3742aa7fa1abc25a43678a54e1dd0f03ac34a40715314cd09855773",
+ "hash" : "0x2a379a44a3742aa7fa1abc25a43678a54e1dd0f03ac34a40715314cd09855773",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "c27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
+ "hash" : "0xc27ddf21d26bd13f5e895075c046c5b3346f190f7c2dc74600c0665275153ccf",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa61157cf1600055",
"nonce" : "0x00",
@@ -69,14 +69,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x1e8480",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -90,14 +90,14 @@
""
],
"gasLimit" : [
- "200000"
+ "0x030d40"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallA_OOG.json b/GeneralStateTests/stRefundTest/refund_CallA_OOG.json
index 5177df81e..fa793719c 100644
--- a/GeneralStateTests/stRefundTest/refund_CallA_OOG.json
+++ b/GeneralStateTests/stRefundTest/refund_CallA_OOG.json
@@ -1,17 +1,17 @@
{
"refund_CallA_OOG" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
+ "hash" : "0xca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
+ "hash" : "0xca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
+ "hash" : "0xca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
+ "hash" : "0xca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
+ "hash" : "0xca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa611770f1600055",
"nonce" : "0x00",
@@ -69,14 +69,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0493e0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -90,14 +90,14 @@
""
],
"gasLimit" : [
- "31069"
+ "0x795d"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallA_notEnoughGasInCall.json b/GeneralStateTests/stRefundTest/refund_CallA_notEnoughGasInCall.json
index 15b0cfe06..4f175e302 100644
--- a/GeneralStateTests/stRefundTest/refund_CallA_notEnoughGasInCall.json
+++ b/GeneralStateTests/stRefundTest/refund_CallA_notEnoughGasInCall.json
@@ -1,17 +1,17 @@
{
"refund_CallA_notEnoughGasInCall" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
+ "hash" : "0x2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
+ "hash" : "0x2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "affeb3f7f719c9679a6295f2600b29777de1836809d86f405d7db2b67d2c2d63",
+ "hash" : "0xaffeb3f7f719c9679a6295f2600b29777de1836809d86f405d7db2b67d2c2d63",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "affeb3f7f719c9679a6295f2600b29777de1836809d86f405d7db2b67d2c2d63",
+ "hash" : "0xaffeb3f7f719c9679a6295f2600b29777de1836809d86f405d7db2b67d2c2d63",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
+ "hash" : "0x2aca4c21c2d51b4fbe64301f84fb5cfa12ffd311c52f5222204150758e610eac",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa61138df1600055",
"nonce" : "0x00",
@@ -69,14 +69,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -90,14 +90,14 @@
""
],
"gasLimit" : [
- "85000"
+ "0x014c08"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallToSuicideNoStorage.json b/GeneralStateTests/stRefundTest/refund_CallToSuicideNoStorage.json
index 0639a0585..ffe735f98 100644
--- a/GeneralStateTests/stRefundTest/refund_CallToSuicideNoStorage.json
+++ b/GeneralStateTests/stRefundTest/refund_CallToSuicideNoStorage.json
@@ -1,17 +1,17 @@
{
"refund_CallToSuicideNoStorage" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
+ "hash" : "0x23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -19,7 +19,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -29,7 +29,7 @@
],
"EIP158" : [
{
- "hash" : "23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
+ "hash" : "0x23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -37,7 +37,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -47,7 +47,7 @@
],
"Frontier" : [
{
- "hash" : "72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
+ "hash" : "0x72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -55,7 +55,7 @@
}
},
{
- "hash" : "b7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
+ "hash" : "0xb7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -65,7 +65,7 @@
],
"Homestead" : [
{
- "hash" : "72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
+ "hash" : "0x72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -73,7 +73,7 @@
}
},
{
- "hash" : "b7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
+ "hash" : "0xb7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -83,7 +83,7 @@
],
"Metropolis" : [
{
- "hash" : "23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
+ "hash" : "0x23864f00568ee06c4fa976e7486076c878c7769477079ef6ec7263d3efbeb06c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -91,7 +91,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -101,7 +101,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa600035f1600055",
"nonce" : "0x00",
@@ -109,14 +109,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x05f5e100",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -130,14 +130,14 @@
"0x0000000000000000000000000000000000000000000000000000000000010000"
],
"gasLimit" : [
- "10000000"
+ "0x989680"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallToSuicideStorage.json b/GeneralStateTests/stRefundTest/refund_CallToSuicideStorage.json
index 55a065fff..70ce289e6 100644
--- a/GeneralStateTests/stRefundTest/refund_CallToSuicideStorage.json
+++ b/GeneralStateTests/stRefundTest/refund_CallToSuicideStorage.json
@@ -1,17 +1,17 @@
{
"refund_CallToSuicideStorage" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "a587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
+ "hash" : "0xa587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -19,7 +19,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -29,7 +29,7 @@
],
"EIP158" : [
{
- "hash" : "a587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
+ "hash" : "0xa587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -37,7 +37,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -47,7 +47,7 @@
],
"Frontier" : [
{
- "hash" : "72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
+ "hash" : "0x72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -55,7 +55,7 @@
}
},
{
- "hash" : "b7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
+ "hash" : "0xb7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -65,7 +65,7 @@
],
"Homestead" : [
{
- "hash" : "72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
+ "hash" : "0x72d1e43979b3fff788ea533c0b363ac0cb6f7ae6b71f3a8cf4a2d223b9a90136",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -73,7 +73,7 @@
}
},
{
- "hash" : "b7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
+ "hash" : "0xb7e56361ab3129e79e9370a0c108fe52bc078753a73e9d76356eb5bedc8eed75",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -83,7 +83,7 @@
],
"Metropolis" : [
{
- "hash" : "a587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
+ "hash" : "0xa587ffe584ff984c6bd8710c40dc42c5f6aac60f280a01967d6c4f43249dd786",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -91,7 +91,7 @@
}
},
{
- "hash" : "d2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
+ "hash" : "0xd2712850b9220fed8fded4dd69b08262c33b3cefe7dae41d8ee947b324229b08",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -101,7 +101,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa600035f1600055",
"nonce" : "0x00",
@@ -109,14 +109,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x05f5e100",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -131,14 +131,14 @@
"0x0000000000000000000000000000000000000000000000000000000000010000"
],
"gasLimit" : [
- "10000000"
+ "0x989680"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_CallToSuicideTwice.json b/GeneralStateTests/stRefundTest/refund_CallToSuicideTwice.json
index c6453752a..56c1363b9 100644
--- a/GeneralStateTests/stRefundTest/refund_CallToSuicideTwice.json
+++ b/GeneralStateTests/stRefundTest/refund_CallToSuicideTwice.json
@@ -1,17 +1,17 @@
{
"refund_CallToSuicideTwice" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
+ "hash" : "0x3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -19,7 +19,7 @@
}
},
{
- "hash" : "c3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
+ "hash" : "0xc3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -29,7 +29,7 @@
],
"EIP158" : [
{
- "hash" : "3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
+ "hash" : "0x3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -37,7 +37,7 @@
}
},
{
- "hash" : "c3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
+ "hash" : "0xc3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -47,7 +47,7 @@
],
"Frontier" : [
{
- "hash" : "760cadb9d8b99f6f9ddd673d76bb3aad04ac4f4c87ed21ceab6a859320aee2ee",
+ "hash" : "0x760cadb9d8b99f6f9ddd673d76bb3aad04ac4f4c87ed21ceab6a859320aee2ee",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -55,7 +55,7 @@
}
},
{
- "hash" : "8fc808b98eebf12445af1aad861dd1294f909f06648588191ff698f78373e5bd",
+ "hash" : "0x8fc808b98eebf12445af1aad861dd1294f909f06648588191ff698f78373e5bd",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -65,7 +65,7 @@
],
"Homestead" : [
{
- "hash" : "760cadb9d8b99f6f9ddd673d76bb3aad04ac4f4c87ed21ceab6a859320aee2ee",
+ "hash" : "0x760cadb9d8b99f6f9ddd673d76bb3aad04ac4f4c87ed21ceab6a859320aee2ee",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -73,7 +73,7 @@
}
},
{
- "hash" : "8fc808b98eebf12445af1aad861dd1294f909f06648588191ff698f78373e5bd",
+ "hash" : "0x8fc808b98eebf12445af1aad861dd1294f909f06648588191ff698f78373e5bd",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -83,7 +83,7 @@
],
"Metropolis" : [
{
- "hash" : "3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
+ "hash" : "0x3a7b51222887418341a17d6348a7bb892e7af3d9aeda9ca704cd2d0717695e01",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -91,7 +91,7 @@
}
},
{
- "hash" : "c3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
+ "hash" : "0xc3f51c7a52752e0bd11b975c85a7da9f8cb61b2a1169aed57c2448468d8d7876",
"indexes" : {
"data" : 1,
"gas" : 0,
@@ -101,7 +101,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa600035f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa600035f1",
"nonce" : "0x00",
@@ -109,14 +109,14 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x05f5e100",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -131,14 +131,14 @@
"0x0000000000000000000000000000000000000000000000000000000000010000"
],
"gasLimit" : [
- "10000000"
+ "0x989680"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_NoOOG_1.json b/GeneralStateTests/stRefundTest/refund_NoOOG_1.json
index b32024a41..7df436186 100644
--- a/GeneralStateTests/stRefundTest/refund_NoOOG_1.json
+++ b/GeneralStateTests/stRefundTest/refund_NoOOG_1.json
@@ -1,17 +1,17 @@
{
"refund_NoOOG_1" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "hash" : "0xefa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "hash" : "0xefa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "hash" : "0xefa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "hash" : "0xefa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "hash" : "0xefa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -69,9 +69,9 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xc418",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -82,14 +82,14 @@
""
],
"gasLimit" : [
- "26006"
+ "0x6596"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_OOG.json b/GeneralStateTests/stRefundTest/refund_OOG.json
index 35feeadf6..6e517c7d2 100644
--- a/GeneralStateTests/stRefundTest/refund_OOG.json
+++ b/GeneralStateTests/stRefundTest/refund_OOG.json
@@ -1,17 +1,17 @@
{
"refund_OOG" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "da1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
+ "hash" : "0xda1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "da1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
+ "hash" : "0xda1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "da1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
+ "hash" : "0xda1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "da1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
+ "hash" : "0xda1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "da1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
+ "hash" : "0xda1d8b53222911d4edd86fb42ac017c3e1b219d7150007721307b676a6bc38c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -69,9 +69,9 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x07a120",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -82,14 +82,14 @@
""
],
"gasLimit" : [
- "26005"
+ "0x6595"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_TxToSuicide.json b/GeneralStateTests/stRefundTest/refund_TxToSuicide.json
index 47bb531cd..e300f55b5 100644
--- a/GeneralStateTests/stRefundTest/refund_TxToSuicide.json
+++ b/GeneralStateTests/stRefundTest/refund_TxToSuicide.json
@@ -1,17 +1,17 @@
{
"refund_TxToSuicide" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
+ "hash" : "0x97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -19,7 +19,7 @@
}
},
{
- "hash" : "88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
+ "hash" : "0x88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
"indexes" : {
"data" : 0,
"gas" : 1,
@@ -29,7 +29,7 @@
],
"EIP158" : [
{
- "hash" : "97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
+ "hash" : "0x97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -37,7 +37,7 @@
}
},
{
- "hash" : "88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
+ "hash" : "0x88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
"indexes" : {
"data" : 0,
"gas" : 1,
@@ -47,7 +47,7 @@
],
"Frontier" : [
{
- "hash" : "51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
+ "hash" : "0x51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -55,7 +55,7 @@
}
},
{
- "hash" : "51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
+ "hash" : "0x51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
"indexes" : {
"data" : 0,
"gas" : 1,
@@ -65,7 +65,7 @@
],
"Homestead" : [
{
- "hash" : "51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
+ "hash" : "0x51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -73,7 +73,7 @@
}
},
{
- "hash" : "51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
+ "hash" : "0x51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
"indexes" : {
"data" : 0,
"gas" : 1,
@@ -83,7 +83,7 @@
],
"Metropolis" : [
{
- "hash" : "97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
+ "hash" : "0x97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -91,7 +91,7 @@
}
},
{
- "hash" : "88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
+ "hash" : "0x88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f",
"indexes" : {
"data" : 0,
"gas" : 1,
@@ -101,14 +101,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x05f5e100",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -122,15 +122,15 @@
""
],
"gasLimit" : [
- "21003",
- "61003"
+ "0x520b",
+ "0xee4b"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "aaae7baea6a6c7c4c2dfeb977efac326af552aaa",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_TxToSuicideOOG.json b/GeneralStateTests/stRefundTest/refund_TxToSuicideOOG.json
index 830b19982..d57d10149 100644
--- a/GeneralStateTests/stRefundTest/refund_TxToSuicideOOG.json
+++ b/GeneralStateTests/stRefundTest/refund_TxToSuicideOOG.json
@@ -1,17 +1,17 @@
{
"refund_TxToSuicideOOG" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
+ "hash" : "0x7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
+ "hash" : "0x7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
+ "hash" : "0x7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
+ "hash" : "0x7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
+ "hash" : "0x7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x05f5e100",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0x00",
@@ -82,14 +82,14 @@
""
],
"gasLimit" : [
- "21002"
+ "0x520a"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "aaae7baea6a6c7c4c2dfeb977efac326af552aaa",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_changeNonZeroStorage.json b/GeneralStateTests/stRefundTest/refund_changeNonZeroStorage.json
index 503c9e6cb..51faf8f55 100644
--- a/GeneralStateTests/stRefundTest/refund_changeNonZeroStorage.json
+++ b/GeneralStateTests/stRefundTest/refund_changeNonZeroStorage.json
@@ -1,17 +1,17 @@
{
"refund_changeNonZeroStorage" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "hash" : "0xc9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "hash" : "0xc9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "hash" : "0xc9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "hash" : "0xc9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "hash" : "0xc9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6017600155",
"nonce" : "0x00",
@@ -69,9 +69,9 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0f4240",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -82,14 +82,14 @@
""
],
"gasLimit" : [
- "228500"
+ "0x037c94"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_getEtherBack.json b/GeneralStateTests/stRefundTest/refund_getEtherBack.json
index 4b430e768..9200867d9 100644
--- a/GeneralStateTests/stRefundTest/refund_getEtherBack.json
+++ b/GeneralStateTests/stRefundTest/refund_getEtherBack.json
@@ -1,17 +1,17 @@
{
"refund_getEtherBack" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x037c94",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "hash" : "0xa0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "hash" : "0xa0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "hash" : "0xa0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "hash" : "0xa0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "hash" : "0xa0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,7 +61,7 @@
]
},
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6000600155",
"nonce" : "0x00",
@@ -69,9 +69,9 @@
"0x01" : "0x01"
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x22ddc8",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -82,14 +82,14 @@
""
],
"gasLimit" : [
- "228500"
+ "0x037c94"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_multimpleSuicide.json b/GeneralStateTests/stRefundTest/refund_multimpleSuicide.json
index b355ba39c..258218c08 100644
--- a/GeneralStateTests/stRefundTest/refund_multimpleSuicide.json
+++ b/GeneralStateTests/stRefundTest/refund_multimpleSuicide.json
@@ -1,17 +1,17 @@
{
"refund_multimpleSuicide" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "f86cd78f87f71a92c8db138f99e6ce104e81b30bbafac118127ec5057148aa99",
+ "hash" : "0xf86cd78f87f71a92c8db138f99e6ce104e81b30bbafac118127ec5057148aa99",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "6d682e26dc5364fc47db5306aea09899760ac2bd4b89229bfbf62b784ab1866d",
+ "hash" : "0x6d682e26dc5364fc47db5306aea09899760ac2bd4b89229bfbf62b784ab1866d",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "4565006352de0399e17ac6cc3671ca2fa94e553df037f6df5fed7f966a04ba84",
+ "hash" : "0x4565006352de0399e17ac6cc3671ca2fa94e553df037f6df5fed7f966a04ba84",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "4565006352de0399e17ac6cc3671ca2fa94e553df037f6df5fed7f966a04ba84",
+ "hash" : "0x4565006352de0399e17ac6cc3671ca2fa94e553df037f6df5fed7f966a04ba84",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "6d682e26dc5364fc47db5306aea09899760ac2bd4b89229bfbf62b784ab1866d",
+ "hash" : "0x6d682e26dc5364fc47db5306aea09899760ac2bd4b89229bfbf62b784ab1866d",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,16 +61,16 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x606060405260e060020a600035046309e587a58114610031578063c04062261461004d578063dd4f1f2a1461005a575b005b61002f3373ffffffffffffffffffffffffffffffffffffffff16ff5b6100f5600061010961005e565b61002f5b60003090508073ffffffffffffffffffffffffffffffffffffffff166309e587a56040518160e060020a0281526004018090506000604051808303816000876161da5a03f1156100025750604080517f09e587a500000000000000000000000000000000000000000000000000000000815290516004828101926000929190829003018183876161da5a03f1156100025750505050565b604080519115158252519081900360200190f35b5060019056",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0493e0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -81,14 +81,14 @@
"0xc0406226"
],
"gasLimit" : [
- "300000"
+ "0x0493e0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000001",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stRefundTest/refund_singleSuicide.json b/GeneralStateTests/stRefundTest/refund_singleSuicide.json
index b4a11d582..633f4e37d 100644
--- a/GeneralStateTests/stRefundTest/refund_singleSuicide.json
+++ b/GeneralStateTests/stRefundTest/refund_singleSuicide.json
@@ -1,17 +1,17 @@
{
"refund_singleSuicide" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "6f5cbf09a8693d41dec28d7b4ada05d6cb4cc00029ee9311721903060039fd50",
+ "hash" : "0x6f5cbf09a8693d41dec28d7b4ada05d6cb4cc00029ee9311721903060039fd50",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "470504afdd4f770328e7e01c552f262cc55996fc83cc5fe05c825fda6b50312c",
+ "hash" : "0x470504afdd4f770328e7e01c552f262cc55996fc83cc5fe05c825fda6b50312c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "ba2fd14cc4799bf049ebc512a6e27a5c4678bf5ae0834659f9179ed3049ff4ff",
+ "hash" : "0xba2fd14cc4799bf049ebc512a6e27a5c4678bf5ae0834659f9179ed3049ff4ff",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "ba2fd14cc4799bf049ebc512a6e27a5c4678bf5ae0834659f9179ed3049ff4ff",
+ "hash" : "0xba2fd14cc4799bf049ebc512a6e27a5c4678bf5ae0834659f9179ed3049ff4ff",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "470504afdd4f770328e7e01c552f262cc55996fc83cc5fe05c825fda6b50312c",
+ "hash" : "0x470504afdd4f770328e7e01c552f262cc55996fc83cc5fe05c825fda6b50312c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,16 +61,16 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x606060405260e060020a600035046309e587a58114602e5780632e4699ed146049578063c040622614609b575b005b602c3373ffffffffffffffffffffffffffffffffffffffff16ff5b602c5b60003090508073ffffffffffffffffffffffffffffffffffffffff166309e587a56040518160e060020a0281526004018090506000604051808303816000876161da5a03f11560025750505050565b60a5600060b9604c565b604080519115158252519081900360200190f35b5060019056",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0493e0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -81,14 +81,14 @@
"0xc0406226"
],
"gasLimit" : [
- "300000"
+ "0x0493e0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000001",
"value" : [
- "0"
+ "0x00"
]
}
}