aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stHomesteadSpecific
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/stHomesteadSpecific
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/stHomesteadSpecific')
-rw-r--r--GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract.json28
-rw-r--r--GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction.json28
-rw-r--r--GeneralStateTests/stHomesteadSpecific/createContractViaContract.json28
-rw-r--r--GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode.json28
-rw-r--r--GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000.json24
5 files changed, 68 insertions, 68 deletions
diff --git a/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract.json b/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract.json
index 2db7bff45..4d447949f 100644
--- a/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract.json
+++ b/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContract.json
@@ -1,17 +1,17 @@
{
"contractCreationOOGdontLeaveEmptyContract" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
+ "hash" : "0x35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
+ "hash" : "0x35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "11ad11c6c73f16022220dad1de2eb827aa3c04fa651f7a7b15231ed98efab9bc",
+ "hash" : "0x11ad11c6c73f16022220dad1de2eb827aa3c04fa651f7a7b15231ed98efab9bc",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "11ad11c6c73f16022220dad1de2eb827aa3c04fa651f7a7b15231ed98efab9bc",
+ "hash" : "0x11ad11c6c73f16022220dad1de2eb827aa3c04fa651f7a7b15231ed98efab9bc",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
+ "hash" : "0x35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,16 +61,16 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "93056"
+ "0x016b80"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000001",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction.json b/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction.json
index 05ddbe28b..8f2926828 100644
--- a/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction.json
+++ b/GeneralStateTests/stHomesteadSpecific/contractCreationOOGdontLeaveEmptyContractViaTransaction.json
@@ -1,17 +1,17 @@
{
"contractCreationOOGdontLeaveEmptyContractViaTransaction" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "982629977cc807888a4aca6888907d0348ce9b6af9482eb0606bb42d3312d883",
+ "hash" : "0x982629977cc807888a4aca6888907d0348ce9b6af9482eb0606bb42d3312d883",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "86631b9f3536a824efa412c3162885c8bbb1657e315b8dbbda6a24a8ae8ff868",
+ "hash" : "0x86631b9f3536a824efa412c3162885c8bbb1657e315b8dbbda6a24a8ae8ff868",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "09977193631f79f56dc2d8dd43b100c0d93e3e1019f12bc7990e06769790b7c5",
+ "hash" : "0x09977193631f79f56dc2d8dd43b100c0d93e3e1019f12bc7990e06769790b7c5",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "bf80ccfd1a7e6bf9f0ab98b938595389fd7240f2206c33bade862e49c19c2248",
+ "hash" : "0xbf80ccfd1a7e6bf9f0ab98b938595389fd7240f2206c33bade862e49c19c2248",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "86631b9f3536a824efa412c3162885c8bbb1657e315b8dbbda6a24a8ae8ff868",
+ "hash" : "0x86631b9f3536a824efa412c3162885c8bbb1657e315b8dbbda6a24a8ae8ff868",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,21 +61,21 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x6001600155",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x10c8e0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
"code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1",
"nonce" : "0x00",
@@ -88,14 +88,14 @@
"0x6040600060406000600073100000000000000000000000000000000000000161c350f1"
],
"gasLimit" : [
- "96000"
+ "0x017700"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stHomesteadSpecific/createContractViaContract.json b/GeneralStateTests/stHomesteadSpecific/createContractViaContract.json
index 5239d5367..67741bfdb 100644
--- a/GeneralStateTests/stHomesteadSpecific/createContractViaContract.json
+++ b/GeneralStateTests/stHomesteadSpecific/createContractViaContract.json
@@ -1,17 +1,17 @@
{
"createContractViaContract" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
+ "hash" : "0x373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "00a243435c3922719d07f434874d20e02a1971ca2bc6d6359bcc18f7e1e766f1",
+ "hash" : "0x00a243435c3922719d07f434874d20e02a1971ca2bc6d6359bcc18f7e1e766f1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
+ "hash" : "0x373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
+ "hash" : "0x373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "00a243435c3922719d07f434874d20e02a1971ca2bc6d6359bcc18f7e1e766f1",
+ "hash" : "0x00a243435c3922719d07f434874d20e02a1971ca2bc6d6359bcc18f7e1e766f1",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,16 +61,16 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x600060006000f0",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000001",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode.json b/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode.json
index b360862e5..eb6f7a666 100644
--- a/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode.json
+++ b/GeneralStateTests/stHomesteadSpecific/createContractViaContractOOGInitCode.json
@@ -1,17 +1,17 @@
{
"createContractViaContractOOGInitCode" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "f079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
+ "hash" : "0xf079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "f079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
+ "hash" : "0xf079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "ef627373222f9f8a0c974af676a99f9a8c62a585e7b8935cec7a26a7029ae6f0",
+ "hash" : "0xef627373222f9f8a0c974af676a99f9a8c62a585e7b8935cec7a26a7029ae6f0",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "ef627373222f9f8a0c974af676a99f9a8c62a585e7b8935cec7a26a7029ae6f0",
+ "hash" : "0xef627373222f9f8a0c974af676a99f9a8c62a585e7b8935cec7a26a7029ae6f0",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "f079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
+ "hash" : "0xf079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,16 +61,16 @@
]
},
"pre" : {
- "1000000000000000000000000000000000000001" : {
+ "0x1000000000000000000000000000000000000001" : {
"balance" : "0x00",
"code" : "0x6b602060406000f0600c600055600052600c60146000f0",
"nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x10c8e0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -81,14 +81,14 @@
""
],
"gasLimit" : [
- "105044"
+ "0x019a54"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000001",
"value" : [
- "0"
+ "0x00"
]
}
}
diff --git a/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000.json b/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000.json
index 259a02915..909b14a80 100644
--- a/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000.json
+++ b/GeneralStateTests/stHomesteadSpecific/createContractViaTransactionCost53000.json
@@ -1,17 +1,17 @@
{
"createContractViaTransactionCost53000" : {
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x0f4240",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"EIP150" : [
{
- "hash" : "53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a",
+ "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -21,7 +21,7 @@
],
"EIP158" : [
{
- "hash" : "01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28",
+ "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -31,7 +31,7 @@
],
"Frontier" : [
{
- "hash" : "cf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8",
+ "hash" : "0xcf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -41,7 +41,7 @@
],
"Homestead" : [
{
- "hash" : "53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a",
+ "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -51,7 +51,7 @@
],
"Metropolis" : [
{
- "hash" : "01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28",
+ "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28",
"indexes" : {
"data" : 0,
"gas" : 0,
@@ -61,9 +61,9 @@
]
},
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0186a0",
- "code" : "0x",
+ "code" : "",
"nonce" : "0x00",
"storage" : {
}
@@ -74,14 +74,14 @@
""
],
"gasLimit" : [
- "100000"
+ "0x0186a0"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "",
"value" : [
- "0"
+ "0x00"
]
}
}