diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-11 19:43:15 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-11 19:43:15 +0800 |
commit | 129a46409eb3336a1292596f09994e359e74ce09 (patch) | |
tree | 91aaa4e206548999defb76872738e0ec3fdb6115 /StateTests | |
parent | 6aa5e2954a06744edc77ace4a9916b88fc603d45 (diff) | |
download | dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar.gz dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar.bz2 dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar.lz dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar.xz dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.tar.zst dexon-tests-129a46409eb3336a1292596f09994e359e74ce09.zip |
suicide and storage refund tests with and without storage
Diffstat (limited to 'StateTests')
-rw-r--r-- | StateTests/stRefundTest.json | 74 |
1 files changed, 73 insertions, 1 deletions
diff --git a/StateTests/stRefundTest.json b/StateTests/stRefundTest.json index 31ebff0bc..6373714ee 100644 --- a/StateTests/stRefundTest.json +++ b/StateTests/stRefundTest.json @@ -595,7 +595,79 @@ "value" : "10" } }, - "refund_CallToSuicide" : { + "refund_CallToSuicideNoStorage" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "10000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "2000000000000000010", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "nonce" : "0", + "storage" : { + "0x" : "0x01", + "0x01" : "0x01" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "20534", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "99979456", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + } + }, + "postStateRoot" : "dc5f1097912d0bdfe23391f2a099cc95db9d58cbea4549b6ff2018379d8b4fac", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "nonce" : "0", + "storage" : { + "0x01" : "0x01" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { + "balance" : "1000000000000000000", + "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "10000000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + }, + "refund_CallToSuicideStorage" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "256", |