diff options
Diffstat (limited to 'src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json b/src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json new file mode 100644 index 000000000..a60c21167 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRefundTest/refund_multimpleSuicideFiller.json @@ -0,0 +1,81 @@ +{ + "refund_multimpleSuicide" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "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" + } + } + } + ], + "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" + ] + } + } +} |