aboutsummaryrefslogblamecommitdiffstats
path: root/src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json
blob: 3554ca5088790088428300433b7797e37d19d1e5 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                           
                                            
                                          

                                        





















                                                                                               






                                



















                                                                  












                                                                  


















































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
{
    "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",
                "code" : "contract Killer {",
                "code" : "  function homicide() {",
                "code" : "      suicide(msg.sender);",
                "code" : "    }",
                "code" : "",
                "code" : "    function multipleHomocide() {",
                "code" : "        Killer k  = this;",
                "code" : "        k.homicide();",
                "code" : "        k.homicide();",
                "code" : "    }",
                "code" : "",
                "code" : "    function run() returns (bool)",
                "code" : "    {",
                "code" : "    multipleHomocide();",
                "code" : "    return true;",
                "code" : "    }",
                "code" : "}",
                "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"
            ]
        }
    }
}