aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stRefundTest/refund_singleSuicideFiller.json
blob: a0d8ff3acb8d021010d2c9e18b5e6e737242dd03 (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
{
    "refund_singleSuicide" : {
        "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" : "10881"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "289119",
                        "nonce" : "1"
                    }
                }
            },
        {
                "indexes" : {
                    "data" : -1,
                    "gas" : -1,
                    "value" : -1
                },
                "network" : ["EIP150"],
                "result" : {
                    "1000000000000000000000000000000000000001" : {
                        "shouldnotexist" : "1"
                    },
                    "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
                        "balance" : "13711"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "286289",
                        "nonce" : "1"
                    }
                }
            },
        {
                "indexes" : {
                    "data" : -1,
                    "gas" : -1,
                    "value" : -1
                },
                "network" : [">=EIP158"],
                "result" : {
                    "1000000000000000000000000000000000000001" : {
                        "shouldnotexist" : "1"
                    },
                    "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
                        "balance" : "13771"
                    },
                    "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                        "balance" : "286229",
                        "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" : "    }",
                "//comment10" : "",
                "//comment11" : "    function run() returns (bool)",
                "//comment12" : "    {",
                "//comment13" : "  multipleHomocide();",
                "//comment14" : "  return true;",
                "//comment15" : "    }",
                "//comment16" : "}",
                "code" : "0x606060405260e060020a600035046309e587a58114602e5780632e4699ed146049578063c040622614609b575b005b602c3373ffffffffffffffffffffffffffffffffffffffff16ff5b602c5b60003090508073ffffffffffffffffffffffffffffffffffffffff166309e587a56040518160e060020a0281526004018090506000604051808303816000876161da5a03f11560025750505050565b60a5600060b9604c565b604080519115158252519081900360200190f35b5060019056",
                "storage" : {
                }
            },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "300000",
                 "nonce" : "0",
                 "code" : "",
                 "storage": {}
             }
         },
        "transaction" : {
            "data" : [
                "0xc0406226"
            ],
            "gasLimit" : [
                "300000"
            ],
            "gasPrice" : "1",
            "nonce" : "0",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "to" : "1000000000000000000000000000000000000001",
            "value" : [
                "0"
            ]
        }
    }
}