aboutsummaryrefslogtreecommitdiffstats
path: root/stTransactionTestFiller.json
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-02-17 01:04:11 +0800
committerwinsvega <winsvega@mail.ru>2015-02-17 01:04:11 +0800
commit2d7194cc58e2544e398166853b45879b376c7bf4 (patch)
tree5d5c6646f2f3b65d63bf5a0386cd49679c5e6b61 /stTransactionTestFiller.json
parentb3f189992b4feafe070277e4b74c6bedf75783c3 (diff)
downloaddexon-solidity-2d7194cc58e2544e398166853b45879b376c7bf4.tar.gz
dexon-solidity-2d7194cc58e2544e398166853b45879b376c7bf4.tar.zst
dexon-solidity-2d7194cc58e2544e398166853b45879b376c7bf4.zip
Test Correction
WrongAddress removed new suicides
Diffstat (limited to 'stTransactionTestFiller.json')
-rw-r--r--stTransactionTestFiller.json96
1 files changed, 92 insertions, 4 deletions
diff --git a/stTransactionTestFiller.json b/stTransactionTestFiller.json
index bece551a..73026608 100644
--- a/stTransactionTestFiller.json
+++ b/stTransactionTestFiller.json
@@ -544,7 +544,7 @@
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "10",
- "code" : "{(SUICIDE 0) (CALL 19 0 1 0 0 0 0) }",
+ "code" : "{(CALL 0 0 1 0 0 0 0) (SUICIDE 0)}",
"nonce" : "0",
"storage" : {
}
@@ -593,7 +593,7 @@
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "10",
- "code" : "{(SUICIDE 0) (CALL 200 0 1 0 0 0 0) }",
+ "code" : "{(CALL 20 0 1 0 0 0 0) (SUICIDE 0)}",
"nonce" : "0",
"storage" : {
}
@@ -612,7 +612,7 @@
"transaction" :
{
"data" : "",
- "gasLimit" : "1700",
+ "gasLimit" : "700",
"gasPrice" : "1",
"nonce" : "",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -621,7 +621,55 @@
}
},
- "SuicidesAndSendMoneyToItself" : {
+ "SuicidesStopAfterSuicide" : {
+ "env" : {
+ "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "100000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "7000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10000",
+ "code" : "{(SUICIDE 0) (CALL 0 2000 0 0 0 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "1110",
+ "code" : "{(SUICIDE 1)}",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "3700",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10"
+ }
+ },
+
+ "SuicidesAndSendMoneyToItselfEtherDestroyed" : {
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "45678256",
@@ -661,6 +709,46 @@
}
},
+ "SuicidesMixingCoinbase" : {
+ "env" : {
+ "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "10000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "7000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000",
+ "code" : "{(SUICIDE 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b)}",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "1700",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10"
+ }
+ },
+
"TransactionNonceCheck" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",