aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreateTest
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/stCreateTest
parent789c43bdbb4cb5913e28f855df35703ac87a40c9 (diff)
downloadtangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.gz
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.bz2
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.lz
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.xz
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.tar.zst
tangerine-tests-3b90fbfaf0b6180be9276bbd050ac2475b95d949.zip
replace SUICIDE with SELFDESTRUCT
Diffstat (limited to 'GeneralStateTests/stCreateTest')
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_AcreateB_BSuicide_BStore.json32
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit.json26
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValue.json26
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItself.json26
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EContractCreateEContractInInit_Tr.json26
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_Tr.json67
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInit_Tr.json26
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAcc.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContract.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_0wei.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_1wei.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractWithBalance.json28
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorage.json30
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0wei.json30
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1wei.json30
-rw-r--r--GeneralStateTests/stCreateTest/CREATE_empty000CreateinInitCode_Transaction.json26
17 files changed, 277 insertions, 236 deletions
diff --git a/GeneralStateTests/stCreateTest/CREATE_AcreateB_BSuicide_BStore.json b/GeneralStateTests/stCreateTest/CREATE_AcreateB_BSuicide_BStore.json
index 111faffcd..f3dbe26f9 100644
--- a/GeneralStateTests/stCreateTest/CREATE_AcreateB_BSuicide_BStore.json
+++ b/GeneralStateTests/stCreateTest/CREATE_AcreateB_BSuicide_BStore.json
@@ -1,17 +1,17 @@
{
"CREATE_AcreateB_BSuicide_BStore" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "d4753925482b62ec7ad7fc3bddff66de44a3a7cd83e3cdba0cd8b6fa73f814b9",
+ "hash" : "0xd4753925482b62ec7ad7fc3bddff66de44a3a7cd83e3cdba0cd8b6fa73f814b9",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "e2cd6426cb1f1056e3499789297ae9c15323adaac4bf86a28929eb3ebe26fe67",
+ "hash" : "0xe2cd6426cb1f1056e3499789297ae9c15323adaac4bf86a28929eb3ebe26fe67",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "cb20c3bae000723d5ebaf98ff88ff867c7a017644c44c647533ecdb13a40baec",
+ "hash" : "0xcb20c3bae000723d5ebaf98ff88ff867c7a017644c44c647533ecdb13a40baec",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "cb20c3bae000723d5ebaf98ff88ff867c7a017644c44c647533ecdb13a40baec",
+ "hash" : "0xcb20c3bae000723d5ebaf98ff88ff867c7a017644c44c647533ecdb13a40baec",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "e2cd6426cb1f1056e3499789297ae9c15323adaac4bf86a28929eb3ebe26fe67",
+ "hash" : "0xe2cd6426cb1f1056e3499789297ae9c15323adaac4bf86a28929eb3ebe26fe67",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000000" : {
+ "0x1000000000000000000000000000000000000000" : {
"balance" : "0x01",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063c04062261461003c57610037565b610002565b346100025761004e6004805050610050565b005b600060405160c9806101d3833901809050604051809103906000f080156100025790508073ffffffffffffffffffffffffffffffffffffffff166369bda7aa604051817c0100000000000000000000000000000000000000000000000000000000028152600401809050600060405180830381600087803b156100025760325a03f115610002575050508073ffffffffffffffffffffffffffffffffffffffff16633ac6dff3604051817c0100000000000000000000000000000000000000000000000000000000028152600401809050600060405180830381600087803b156100025760325a03f115610002575050508073ffffffffffffffffffffffffffffffffffffffff16636f118b2b600060405160200152604051817c0100000000000000000000000000000000000000000000000000000000028152600401809050602060405180830381600087803b156100025760325a03f115610002575050506040518051906020015060016000508190555060016000600050819055505b5056606060405260b98060106000396000f360606040526000357c0100000000000000000000000000000000000000000000000000000000900480633ac6dff314604d57806369bda7aa14605e5780636f118b2b14606f576049565b6002565b34600257605c60048050506094565b005b34600257606d600480505060a2565b005b34600257607e600480505060a8565b6040518082815260200191505060405180910390f35b600c6000600050819055505b565b6011ff5b565b6000600060005054905060b6565b9056",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
"0xc0406226"
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit.json b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit.json
index 5ef72182f..80f4093fc 100644
--- a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit.json
+++ b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit.json
@@ -1,17 +1,17 @@
{
"CREATE_ContractSuicideDuringInit" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "f5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
+ "hash" : "0xf5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "f5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
+ "hash" : "0xf5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "f333a603e17f77ee796862f7866bba49c697f704dcd4b42c12f496849d18c466",
+ "hash" : "0xf333a603e17f77ee796862f7866bba49c697f704dcd4b42c12f496849d18c466",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "7663f589c5be87be629223cdc3dba8feebabdd3d3a66978cc994481d9ab8185d",
+ "hash" : "0x7663f589c5be87be629223cdc3dba8feebabdd3d3a66978cc994481d9ab8185d",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "f5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
+ "hash" : "0xf5351ae35a94adcc18f2c1a7146c9104063025540cf13f0bb9e1a70bae6c8b8e",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf360005273c94f5374fce5edbc8e2a8697c15331677e6ebf0bff"
],
"gasLimit" : [
- "150000"
+ "0x0249f0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json
index 11a9d0428..4980f2150 100644
--- a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json
+++ b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json
@@ -1,17 +1,17 @@
{
"CREATE_ContractSuicideDuringInit_ThenStoreThenReturn" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "b595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
+ "hash" : "0xb595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "b595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
+ "hash" : "0xb595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "78fa6f579e8822277b1d808d4fd1aba99be3a9e6ebbe9d850fa5956f996c54f5",
+ "hash" : "0x78fa6f579e8822277b1d808d4fd1aba99be3a9e6ebbe9d850fa5956f996c54f5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "cd847e15911f01978a16197eea0c4a9610bacdd08ea1d9d3cf17eb2f2f6b2440",
+ "hash" : "0xcd847e15911f01978a16197eea0c4a9610bacdd08ea1d9d3cf17eb2f2f6b2440",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "b595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
+ "hash" : "0xb595384d7a1d0a1da23f6922efd8fe572594738d52fd73d01911cab6d0c7f5c1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x600c600155",
"nonce" : "0x00",
"storage" : {
}
},
- "d94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xd94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf360005273d94f5374fce5edbc8e2a8697c15331677e6ebf0bff6000600060006000600073d94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f150600b600055600e6012f3"
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValue.json b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValue.json
index a66cd5b9e..ef1485a60 100644
--- a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValue.json
+++ b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValue.json
@@ -1,17 +1,17 @@
{
"CREATE_ContractSuicideDuringInit_WithValue" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
+ "hash" : "0x01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
+ "hash" : "0x01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "96315472f25e8d8de55427dbff149b38266f4bd3089be65f9535ebf3a173a930",
+ "hash" : "0x96315472f25e8d8de55427dbff149b38266f4bd3089be65f9535ebf3a173a930",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "53b23926c5e12f4869f749070ff00caa71b17ea05153e6223673689c7d15cb5b",
+ "hash" : "0x53b23926c5e12f4869f749070ff00caa71b17ea05153e6223673689c7d15cb5b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
+ "hash" : "0x01a15e87137e1d98fbd54a8848b1fa9af1d6ef167cb44676cf8eedf32760e916",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf360005273c94f5374fce5edbc8e2a8697c15331677e6ebf0bff"
],
"gasLimit" : [
- "150000"
+ "0x0249f0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItself.json b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItself.json
index 03d4a298e..083d5efd9 100644
--- a/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItself.json
+++ b/GeneralStateTests/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItself.json
@@ -1,17 +1,17 @@
{
"CREATE_ContractSuicideDuringInit_WithValueToItself" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "a138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
+ "hash" : "0xa138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "a138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
+ "hash" : "0xa138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "d64663da328381d656a93fe6be26d5e3b2ec79d62020d79dcbe09748d084fb41",
+ "hash" : "0xd64663da328381d656a93fe6be26d5e3b2ec79d62020d79dcbe09748d084fb41",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "a287629b270c19f511e554e3737c0a3db3ef1cb2d9b172fe93c690e8f6d6eab7",
+ "hash" : "0xa287629b270c19f511e554e3737c0a3db3ef1cb2d9b172fe93c690e8f6d6eab7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "a138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
+ "hash" : "0xa138dc955ed2b1ca44c49922bdfbead3432895236dfec4bfd66396e44f2f1229",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052736295ee1b4f6dd65047762f924ecd367c17eabf8fff"
],
"gasLimit" : [
- "150000"
+ "0x0249f0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "10"
+ "0x0a"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EContractCreateEContractInInit_Tr.json b/GeneralStateTests/stCreateTest/CREATE_EContractCreateEContractInInit_Tr.json
index 05e487741..f51433a7f 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EContractCreateEContractInInit_Tr.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EContractCreateEContractInInit_Tr.json
@@ -1,17 +1,17 @@
{
"CREATE_EContractCreateEContractInInit_Tr" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "a53c16ef764e59942826a272cb0c2a22cf857019299de8ba689ea99622b96e96",
+ "hash" : "0xa53c16ef764e59942826a272cb0c2a22cf857019299de8ba689ea99622b96e96",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "008b89d8adaea6f4f0fb50436a903b21ceecff1cc4cd96e77e87a73641815c7f",
+ "hash" : "0x008b89d8adaea6f4f0fb50436a903b21ceecff1cc4cd96e77e87a73641815c7f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "6a3caa9a78c30fa01e1b6dd5c0fe614d05a3c783655d83a0d4d24242c77e4c7d",
+ "hash" : "0x6a3caa9a78c30fa01e1b6dd5c0fe614d05a3c783655d83a0d4d24242c77e4c7d",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "83a8d130edbb4e577e083be49413b90f513f2a9da710706bbd6f99f35874e366",
+ "hash" : "0x83a8d130edbb4e577e083be49413b90f513f2a9da710706bbd6f99f35874e366",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "008b89d8adaea6f4f0fb50436a903b21ceecff1cc4cd96e77e87a73641815c7f",
+ "hash" : "0x008b89d8adaea6f4f0fb50436a903b21ceecff1cc4cd96e77e87a73641815c7f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f150602060006000f0"
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_Tr.json b/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_Tr.json
index 3dbde582e..ab25f2e6d 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_Tr.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_Tr.json
@@ -1,74 +1,114 @@
{
"CREATE_EContractCreateNEContractInInitOOG_Tr" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "79636e75640ef283fed3222de13e8771ed5c47b474630aa9a120a9b2b45d86d4",
+ "hash" : "0x79636e75640ef283fed3222de13e8771ed5c47b474630aa9a120a9b2b45d86d4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xde57d3e6c712a43c036e67e52f47b97db2526acb3a7f86ef47342b9cdb567ae8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"EIP158" : [
{
- "hash" : "d63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
+ "hash" : "0xd63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xde57d3e6c712a43c036e67e52f47b97db2526acb3a7f86ef47342b9cdb567ae8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Frontier" : [
{
- "hash" : "31615cdaada9cfc5f00dcbfaee0844dc2faf4bbd8fafe6de377de1a5beccffd7",
+ "hash" : "0x31615cdaada9cfc5f00dcbfaee0844dc2faf4bbd8fafe6de377de1a5beccffd7",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xde57d3e6c712a43c036e67e52f47b97db2526acb3a7f86ef47342b9cdb567ae8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Homestead" : [
{
- "hash" : "614c26d1539f1de71127ba0184bae3aac2ab10d3ace6fbb3c7b2eec3466314b4",
+ "hash" : "0x614c26d1539f1de71127ba0184bae3aac2ab10d3ace6fbb3c7b2eec3466314b4",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xde57d3e6c712a43c036e67e52f47b97db2526acb3a7f86ef47342b9cdb567ae8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Metropolis" : [
{
- "hash" : "d63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
+ "hash" : "0xd63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xde57d3e6c712a43c036e67e52f47b97db2526acb3a7f86ef47342b9cdb567ae8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +121,15 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0"
],
"gasLimit" : [
- "160000"
+ "0x027100",
+ "0xea60"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInit_Tr.json b/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInit_Tr.json
index ab0ab13de..acf64ec01 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInit_Tr.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EContractCreateNEContractInInit_Tr.json
@@ -1,17 +1,17 @@
{
"CREATE_EContractCreateNEContractInInit_Tr" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "79636e75640ef283fed3222de13e8771ed5c47b474630aa9a120a9b2b45d86d4",
+ "hash" : "0x79636e75640ef283fed3222de13e8771ed5c47b474630aa9a120a9b2b45d86d4",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "d63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
+ "hash" : "0xd63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "31615cdaada9cfc5f00dcbfaee0844dc2faf4bbd8fafe6de377de1a5beccffd7",
+ "hash" : "0x31615cdaada9cfc5f00dcbfaee0844dc2faf4bbd8fafe6de377de1a5beccffd7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "614c26d1539f1de71127ba0184bae3aac2ab10d3ace6fbb3c7b2eec3466314b4",
+ "hash" : "0x614c26d1539f1de71127ba0184bae3aac2ab10d3ace6fbb3c7b2eec3466314b4",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "d63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
+ "hash" : "0xd63b15ea67d73a31e74acd8df318571c176aff36c564266a6731b7fcb589bb99",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0"
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAcc.json b/GeneralStateTests/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAcc.json
index 0159200ce..f4b879e55 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAcc.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAcc.json
@@ -1,17 +1,17 @@
{
"CREATE_EContract_ThenCALLToNonExistentAcc" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "96e22cad6add90b24312de855deb754fdd95e9a703b37db2dfe50bfb4c24a6db",
+ "hash" : "0x96e22cad6add90b24312de855deb754fdd95e9a703b37db2dfe50bfb4c24a6db",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "3fe65b80e475f6dd5cbba1dc5ab1c48192190b5152dec14d585a2dda3b8cb09c",
+ "hash" : "0x3fe65b80e475f6dd5cbba1dc5ab1c48192190b5152dec14d585a2dda3b8cb09c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "414473e2b5ccbb95bfc9d02ca0e01da229de28551c4f95979c3f37d46ba075a6",
+ "hash" : "0x414473e2b5ccbb95bfc9d02ca0e01da229de28551c4f95979c3f37d46ba075a6",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "414473e2b5ccbb95bfc9d02ca0e01da229de28551c4f95979c3f37d46ba075a6",
+ "hash" : "0x414473e2b5ccbb95bfc9d02ca0e01da229de28551c4f95979c3f37d46ba075a6",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "3fe65b80e475f6dd5cbba1dc5ab1c48192190b5152dec14d585a2dda3b8cb09c",
+ "hash" : "0x3fe65b80e475f6dd5cbba1dc5ab1c48192190b5152dec14d585a2dda3b8cb09c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x5a600055602060006000f06001555a6002556000600060006000600073e1ecf98489fa9ed60a664fc4998db699cfa39d4061ea60f16003555a606455",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContract.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContract.json
index 0df5a71b4..bcb28e4bf 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContract.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContract.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContract" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "ccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
+ "hash" : "0xccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "308525f16a2448ccfd5e19ad719a7da2791e36860391b6400e1a9550abdfd281",
+ "hash" : "0x308525f16a2448ccfd5e19ad719a7da2791e36860391b6400e1a9550abdfd281",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "ccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
+ "hash" : "0xccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "ccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
+ "hash" : "0xccb5dd1bdab508758d44e650ebf8eb21e79f58d0a20b0fe7d4f102dc3b5104d7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "308525f16a2448ccfd5e19ad719a7da2791e36860391b6400e1a9550abdfd281",
+ "hash" : "0x308525f16a2448ccfd5e19ad719a7da2791e36860391b6400e1a9550abdfd281",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x5a600055602060006000f06001555a606455",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_0wei.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_0wei.json
index b726768c1..e91f770d1 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_0wei.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_0wei.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractAndCallIt_0wei" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "9d9b0f4d83b4cc9d694f684b3c5e02ce331296f6de2ca235676789b1fe08efae",
+ "hash" : "0x9d9b0f4d83b4cc9d694f684b3c5e02ce331296f6de2ca235676789b1fe08efae",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "19d6310e52c8d20f7f4fc424c5b48de170aaf5687712d75530d68ee079457234",
+ "hash" : "0x19d6310e52c8d20f7f4fc424c5b48de170aaf5687712d75530d68ee079457234",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "c2f8f38782b85d584ac54b4bcd1f3fb47abdcdb89d866651d89c0f92e4cf7734",
+ "hash" : "0xc2f8f38782b85d584ac54b4bcd1f3fb47abdcdb89d866651d89c0f92e4cf7734",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "c2f8f38782b85d584ac54b4bcd1f3fb47abdcdb89d866651d89c0f92e4cf7734",
+ "hash" : "0xc2f8f38782b85d584ac54b4bcd1f3fb47abdcdb89d866651d89c0f92e4cf7734",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "19d6310e52c8d20f7f4fc424c5b48de170aaf5687712d75530d68ee079457234",
+ "hash" : "0x19d6310e52c8d20f7f4fc424c5b48de170aaf5687712d75530d68ee079457234",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x5a600055602060006000f06001555a6002556000600060006000600060015461ea60f16003555a606455",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_1wei.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_1wei.json
index 16892d239..cfeea9c63 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_1wei.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractAndCallIt_1wei.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractAndCallIt_1wei" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "5f819235613ee824d9931511c4f3fcc6b9e6380f531fd55e5d0b194e946f407c",
+ "hash" : "0x5f819235613ee824d9931511c4f3fcc6b9e6380f531fd55e5d0b194e946f407c",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "1335ca3b57b2762b2b943682205ae7e792e2b3a2ec8a123a98a96eb53186f5dd",
+ "hash" : "0x1335ca3b57b2762b2b943682205ae7e792e2b3a2ec8a123a98a96eb53186f5dd",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "53a30101b6f54133217dd206b739841e0472d29e176290d6e3464b94837be861",
+ "hash" : "0x53a30101b6f54133217dd206b739841e0472d29e176290d6e3464b94837be861",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "53a30101b6f54133217dd206b739841e0472d29e176290d6e3464b94837be861",
+ "hash" : "0x53a30101b6f54133217dd206b739841e0472d29e176290d6e3464b94837be861",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "1335ca3b57b2762b2b943682205ae7e792e2b3a2ec8a123a98a96eb53186f5dd",
+ "hash" : "0x1335ca3b57b2762b2b943682205ae7e792e2b3a2ec8a123a98a96eb53186f5dd",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x01",
"code" : "0x5a600055602060006000f06001555a6002556000600060006000600160015461ea60f16003555a606455",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithBalance.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithBalance.json
index aa0742c17..da843ed63 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithBalance.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithBalance.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractWithBalance" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "f4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
+ "hash" : "0xf4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "87dcd926369bb5229d8aa73a4dc5295ce32a9bd9b6448336678f000d3420be18",
+ "hash" : "0x87dcd926369bb5229d8aa73a4dc5295ce32a9bd9b6448336678f000d3420be18",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "f4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
+ "hash" : "0xf4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "f4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
+ "hash" : "0xf4bd411c00e8158955baa48589471d9b3c534e77697173b44baeac86828a4782",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "87dcd926369bb5229d8aa73a4dc5295ce32a9bd9b6448336678f000d3420be18",
+ "hash" : "0x87dcd926369bb5229d8aa73a4dc5295ce32a9bd9b6448336678f000d3420be18",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x01",
"code" : "0x5a600055602060006001f06001555a606455",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorage.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorage.json
index 240d37cae..9468c896b 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorage.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorage.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractWithStorage" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "2933815c2af5c423c25ef33d349898f15a3b79b763de49671616c310b6effcbb",
+ "hash" : "0x2933815c2af5c423c25ef33d349898f15a3b79b763de49671616c310b6effcbb",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "a401bb1798616adafc66608fd09285c0c68831f97a9b4d404970da9c2a99a1e1",
+ "hash" : "0xa401bb1798616adafc66608fd09285c0c68831f97a9b4d404970da9c2a99a1e1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "cb4d3f29a0485b8ec3eb183afc0b394fc098772e8fa0a84f38014d440933dbd4",
+ "hash" : "0xcb4d3f29a0485b8ec3eb183afc0b394fc098772e8fa0a84f38014d440933dbd4",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "cb4d3f29a0485b8ec3eb183afc0b394fc098772e8fa0a84f38014d440933dbd4",
+ "hash" : "0xcb4d3f29a0485b8ec3eb183afc0b394fc098772e8fa0a84f38014d440933dbd4",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "a401bb1798616adafc66608fd09285c0c68831f97a9b4d404970da9c2a99a1e1",
+ "hash" : "0xa401bb1798616adafc66608fd09285c0c68831f97a9b4d404970da9c2a99a1e1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x5a6000557f600c6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331676000527f7e6ebf0b61ea60f1000000000000000000000000000000000000000000000000602052604060006000f06001555a606455",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0wei.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0wei.json
index 60f0c4630..602d3691b 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0wei.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0wei.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractWithStorageAndCallIt_0wei" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "95724b5fb02381aa665d22187075abd0d6e60a2d7f1d98233fc1e2a9478e7018",
+ "hash" : "0x95724b5fb02381aa665d22187075abd0d6e60a2d7f1d98233fc1e2a9478e7018",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "a3b9c5957c28604d13f03fafd62478dca544d3dd2573699a404364b7622d871b",
+ "hash" : "0xa3b9c5957c28604d13f03fafd62478dca544d3dd2573699a404364b7622d871b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "c8ad715cdf4e7489aab9aa1555a1b138356287e51ac3a73557c75c7b48629f96",
+ "hash" : "0xc8ad715cdf4e7489aab9aa1555a1b138356287e51ac3a73557c75c7b48629f96",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "c8ad715cdf4e7489aab9aa1555a1b138356287e51ac3a73557c75c7b48629f96",
+ "hash" : "0xc8ad715cdf4e7489aab9aa1555a1b138356287e51ac3a73557c75c7b48629f96",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "a3b9c5957c28604d13f03fafd62478dca544d3dd2573699a404364b7622d871b",
+ "hash" : "0xa3b9c5957c28604d13f03fafd62478dca544d3dd2573699a404364b7622d871b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x5a6000557f600c6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331676000527f7e6ebf0b61ea60f1000000000000000000000000000000000000000000000000602052604060006000f06001555a6002556000600060006000600060015461ea60f16003555a606455",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1wei.json b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1wei.json
index 3d4b51f96..ac103ecd1 100644
--- a/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1wei.json
+++ b/GeneralStateTests/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1wei.json
@@ -1,17 +1,17 @@
{
"CREATE_EmptyContractWithStorageAndCallIt_1wei" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "79da1bc54589028fc4471e13af9b7b5e5c546f35b623f3d44cdf12afa263d38d",
+ "hash" : "0x79da1bc54589028fc4471e13af9b7b5e5c546f35b623f3d44cdf12afa263d38d",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "39f3f07069dc28f2485af1b33570a2cc31c565312f56fd0715cd4671d8072897",
+ "hash" : "0x39f3f07069dc28f2485af1b33570a2cc31c565312f56fd0715cd4671d8072897",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "db693840d5eca93f43d95ef11946b7b5b2b994651b669b971544340bfeed89c7",
+ "hash" : "0xdb693840d5eca93f43d95ef11946b7b5b2b994651b669b971544340bfeed89c7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "db693840d5eca93f43d95ef11946b7b5b2b994651b669b971544340bfeed89c7",
+ "hash" : "0xdb693840d5eca93f43d95ef11946b7b5b2b994651b669b971544340bfeed89c7",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "39f3f07069dc28f2485af1b33570a2cc31c565312f56fd0715cd4671d8072897",
+ "hash" : "0x39f3f07069dc28f2485af1b33570a2cc31c565312f56fd0715cd4671d8072897",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x01",
"code" : "0x5a6000557f600c6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331676000527f7e6ebf0b61ea60f1000000000000000000000000000000000000000000000000602052604060006000f06001555a6002556000600060006000600160015461ea60f16003555a606455",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
""
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stCreateTest/CREATE_empty000CreateinInitCode_Transaction.json b/GeneralStateTests/stCreateTest/CREATE_empty000CreateinInitCode_Transaction.json
index e042d953d..359f9e813 100644
--- a/GeneralStateTests/stCreateTest/CREATE_empty000CreateinInitCode_Transaction.json
+++ b/GeneralStateTests/stCreateTest/CREATE_empty000CreateinInitCode_Transaction.json
@@ -1,17 +1,17 @@
{
"CREATE_empty000CreateinInitCode_Transaction" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x989680",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "14f55f5a337ba2e8d3282dc8e35821cf9e0418040fe8a38a4cc685d0b3de91f8",
+ "hash" : "0x14f55f5a337ba2e8d3282dc8e35821cf9e0418040fe8a38a4cc685d0b3de91f8",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "130a3511ff49e18b6c345692ae59f91919b89ce32c4ff1d0b5117baf99266e9f",
+ "hash" : "0x130a3511ff49e18b6c345692ae59f91919b89ce32c4ff1d0b5117baf99266e9f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "a31291b591da36e79fe99a2dea8664d3e327097d50416054c348d5e7a9277d84",
+ "hash" : "0xa31291b591da36e79fe99a2dea8664d3e327097d50416054c348d5e7a9277d84",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "0eadf14941ab52c4bd16e5f80717342215a2ffc76116af4237d0fe1761f5db3f",
+ "hash" : "0x0eadf14941ab52c4bd16e5f80717342215a2ffc76116af4237d0fe1761f5db3f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "130a3511ff49e18b6c345692ae59f91919b89ce32c4ff1d0b5117baf99266e9f",
+ "hash" : "0x130a3511ff49e18b6c345692ae59f91919b89ce32c4ff1d0b5117baf99266e9f",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,14 +61,14 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "0x600c600155",
"nonce" : "0x00",
@@ -81,14 +81,14 @@
"0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f150600060006000f0"
],
"gasLimit" : [
- "600000"
+ "0x0927c0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}