aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-04-19 21:24:50 +0800
committerYoichi Hirai <i@yoichihirai.com>2018-04-24 18:17:02 +0800
commitd39ae1b1010249ddb375eb790d54a8580d00d8f0 (patch)
treea52826acd57a4b5c2c1d31d89cec2220259a52ce /GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json
parenteac5309bd928de097c4c956ab062c3a0de7d1340 (diff)
downloadtangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar.gz
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar.bz2
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar.lz
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar.xz
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.tar.zst
tangerine-tests-d39ae1b1010249ddb375eb790d54a8580d00d8f0.zip
Fill doubleSelfdestructTest
Diffstat (limited to 'GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json')
-rw-r--r--GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json118
1 files changed, 118 insertions, 0 deletions
diff --git a/GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json b/GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json
new file mode 100644
index 000000000..5735fcb90
--- /dev/null
+++ b/GeneralStateTests/stSystemOperationsTest/doubleSelfdestructTest.json
@@ -0,0 +1,118 @@
+{
+ "doubleSelfdestructTest" : {
+ "_info" : {
+ "comment" : "The first test case required here https://github.com/ethereum/tests/issues/431#issue-306081539 .\nInvoked Solidity 0.4.21 with solc --bin-runtime --optimize\ncontract DoubleSelfdestructTest {\n address constant B1 = 0x1;\n address constant B2 = 0x2;\n function remoteSelfdestruct() external {\n selfdestruct(B2);\n }\n function() external payable {\n this.remoteSelfdestruct();\n selfdestruct(B1);\n }\n}\n",
+ "filledwith" : "cpp-1.3.0+commit.3a3e9a83.Linux.g++",
+ "lllcversion" : "Version: 0.4.21-develop.2018.4.10+commit.dfe3193c.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSystemOperationsTest/doubleSelfdestructTestFiller.yml",
+ "sourceHash" : "5e0515e07ba22dcac2e2a034cf378509e341076a63b22ad1ba5a5d7e8cc510fc"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x02540be400",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xf9ee2c807b2eabdd698264d816bfe9a9a8378fa735c5410504aeb9079f894434",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0xf9ee2c807b2eabdd698264d816bfe9a9a8378fa735c5410504aeb9079f894434",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0xc5ac5551ef0c7f49c4a25c02c117046045adf7ba7cc672f91d5a1d2ea3a5837d",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xf9ee2c807b2eabdd698264d816bfe9a9a8378fa735c5410504aeb9079f894434",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x54ee90f6a8f320d3e3d48413222120fbe880699c3b3f4f5de642e0a71f19af86",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x54ee90f6a8f320d3e3d48413222120fbe880699c3b3f4f5de642e0a71f19af86",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632c3f2bf3811460b4575b3073ffffffffffffffffffffffffffffffffffffffff16632c3f2bf36040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151560a057600080fd5b5af1151560ac57600080fd5b506001915050ff5b341560be57600080fd5b60c460c6565b005b6002ff00a165627a7a7230582050afafcb56c38a6100bd690c100a940b5fd73919053a82fbe14e6cf89dce4c430029",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x3b9aca00"
+ ],
+ "gasPrice" : "0x00",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : [
+ "0x0186a0"
+ ]
+ }
+ }
+} \ No newline at end of file