aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json
blob: 46f04e9da65852eaa93a697f9a0f1828e309325c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
    "refund_multimpleSuicide" : {
        "env" : {
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
            "currentDifficulty" : "0x20000",
            "currentGasLimit" : "1000000",
            "currentNumber" : "1",
            "currentTimestamp" : "1000",
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
        },
        "expect" : [
            {
                "indexes" : {
                    "data" : -1,
                    "gas" : -1,
                    "value" : -1
                },
                "network" : ["Frontier", "Homestead"],
                "result" : {
                    "1000000000000000000000000000000000000001" : {
                        "shouldnotexist" : "1"
                    },
                    "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
                        "balance" : "10984"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "289016",
                        "nonce" : "1"
                    }
                }
            },
        {
                "indexes" : {
                    "data" : -1,
                    "gas" : -1,
                    "value" : -1
                },
                "network" : ["EIP150"],
                "result" : {
                    "1000000000000000000000000000000000000001" : {
                        "shouldnotexist" : "1"
                    },
                    "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
                        "balance" : "16644"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "283356",
                        "nonce" : "1"
                    }
                }
            },
        {
                "indexes" : {
                    "data" : -1,
                    "gas" : -1,
                    "value" : -1
                },
                "network" : ["EIP158"],
                "result" : {
                    "1000000000000000000000000000000000000001" : {
                        "shouldnotexist" : "1"
                    },
                    "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
                        "balance" : "16724"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "283276",
                        "nonce" : "1"
                    }
                }
            }
        ],
         "pre" : {
            "1000000000000000000000000000000000000001" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "//comment1" : "contract Killer {",
                "//comment2" : "  function homicide() {",
                "//comment3" : "      suicide(msg.sender);",
                "//comment4" : "    }",
                "//comment5" : "",
                "//comment6" : "    function multipleHomocide() {",
                "//comment7" : "        Killer k  = this;",
                "//comment8" : "        k.homicide();",
                "//comment9" : "        k.homicide();",
                "//comment10" : "    }",
                "//comment11" : "",
                "//comment12" : "    function run() returns (bool)",
                "//comment13" : "    {",
                "//comment14" : "  multipleHomocide();",
                "//comment15" : "  return true;",
                "//comment16" : "    }",
                "//comment17" : "}",
                "code" : "0x606060405260e060020a600035046309e587a58114610031578063c04062261461004d578063dd4f1f2a1461005a575b005b61002f3373ffffffffffffffffffffffffffffffffffffffff16ff5b6100f5600061010961005e565b61002f5b60003090508073ffffffffffffffffffffffffffffffffffffffff166309e587a56040518160e060020a0281526004018090506000604051808303816000876161da5a03f1156100025750604080517f09e587a500000000000000000000000000000000000000000000000000000000815290516004828101926000929190829003018183876161da5a03f1156100025750505050565b604080519115158252519081900360200190f35b5060019056",
                "storage" : {
                }
            },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "300000",
                 "nonce" : "0",
                 "code" : "",
                 "storage": {}
             }
         },
        "transaction" : {
            "data" : [
                "0xc0406226"
            ],
            "gasLimit" : [
                "300000"
            ],
            "gasPrice" : "1",
            "nonce" : "0",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "to" : "1000000000000000000000000000000000000001",
            "value" : [
                "0"
            ]
        }
    }
}