aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-11 19:42:37 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-11 19:42:37 +0800
commit3ed1241a347f36db29046feb5339ee54e80818f8 (patch)
tree3e98463fcff7c6df3031d0e1f70a859206f23de5
parent9c5ed13b9d3158bda510c096abb6c39ba7349e64 (diff)
downloaddexon-solidity-3ed1241a347f36db29046feb5339ee54e80818f8.tar.gz
dexon-solidity-3ed1241a347f36db29046feb5339ee54e80818f8.tar.zst
dexon-solidity-3ed1241a347f36db29046feb5339ee54e80818f8.zip
suicide refund with and without storage
-rw-r--r--stRefundTestFiller.json44
1 files changed, 43 insertions, 1 deletions
diff --git a/stRefundTestFiller.json b/stRefundTestFiller.json
index c4ea2f3c..5fb040f5 100644
--- a/stRefundTestFiller.json
+++ b/stRefundTestFiller.json
@@ -354,7 +354,7 @@
}
},
- "refund_CallToSuicide" : {
+ "refund_CallToSuicideStorage" : {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
"currentNumber" : "0",
@@ -398,6 +398,48 @@
}
},
+ "refund_CallToSuicideNoStorage" : {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "10000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : 1,
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "nonce" : "0",
+ "code" : "{ [[ 0 ]] (CALL 500 0xaaae7baea6a6c7c4c2dfeb977efac326af552aaa 0 0 0 0 0 )}",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "nonce" : "0",
+ "code" : "{ (SUICIDE 0x095e7baea6a6c7c4c2dfeb977efac326af552d87) }",
+ "storage" : {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000000",
+ "nonce" : "0",
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "transaction" : {
+ "nonce" : "0",
+ "gasPrice" : "1",
+ "gasLimit" : "10000000",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "10",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data" : ""
+ }
+ },
+
"refund_TxToSuicide" : {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",