diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-07-07 05:52:39 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-07-07 05:52:39 +0800 |
commit | 91910a4f3f1123271dcaa1610605087b2de1ee49 (patch) | |
tree | 5b259f0f0fa69a87954d725862d6d3490476839c | |
parent | 08af61491c8727e5ea67bfaa849e1e1dae78908e (diff) | |
download | tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar.gz tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar.bz2 tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar.lz tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar.xz tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.tar.zst tangerine-tests-91910a4f3f1123271dcaa1610605087b2de1ee49.zip |
suicide coinbase
-rw-r--r-- | StateTests/stSpecialTest.json | 62 | ||||
-rw-r--r-- | StateTests/stSystemOperationsTest.json | 48 |
2 files changed, 110 insertions, 0 deletions
diff --git a/StateTests/stSpecialTest.json b/StateTests/stSpecialTest.json index 9a41ef6e0..797a17e07 100644 --- a/StateTests/stSpecialTest.json +++ b/StateTests/stSpecialTest.json @@ -1,4 +1,66 @@ { + "BadStateRootTx" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "1baf27b88c48dd02b744999cf3522766929d2b2a" : { + "balance" : "0x03e8", + "code" : "0x600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3314156023573540602035145b15602e576040356000555b", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x5c55", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1e282b", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "f8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf", + "pre" : { + "1baf27b88c48dd02b744999cf3522766929d2b2a" : { + "balance" : "0x03e8", + "code" : "0x600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3314156023573540602035145b15602e576040356000555b", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1e8480", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "0x00000000000000000000000000000000000000000000000000000000000bc03712fac13c68425054e372b0861af05648614d69d32800fba9ad4522238d4b937a0000000000000000000000000000000000000000000000000000000000000000", + "gasLimit" : "0x030d40", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1baf27b88c48dd02b744999cf3522766929d2b2a", + "value" : "0x00" + } + }, "JUMPDEST_Attack" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json index 10776923c..4fd9fd310 100644 --- a/StateTests/stSystemOperationsTest.json +++ b/StateTests/stSystemOperationsTest.json @@ -18435,6 +18435,54 @@ "value" : "0x0186a0" } }, + "suicideCoinbase" : { + "env" : { + "currentCoinbase" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1bc16d674ec7d6fa", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "d250e0dc5c48a99a23e6a7fbca13303df995c2f8a049aef6fc3afa0e34df4ed4", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x73a94f5374fce5edbc8e2a8697c15331677e6ebf0bff", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0f4240", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0186a0" + } + }, "suicideNotExistingAccount" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", |