aboutsummaryrefslogtreecommitdiffstats
path: root/stTransactionTestFiller.json
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-01-06 06:39:02 +0800
committerwinsvega <winsvega@mail.ru>2015-01-22 17:04:58 +0800
commit91ccc1b7ab56af5ecb94b0c9741067db0e5c8443 (patch)
tree0e48f0eb5742dab13a598bed05efac40f462856a /stTransactionTestFiller.json
parenta0ecb5d4e876aeff12a58e45563f0ea39f1bdf87 (diff)
downloaddexon-solidity-91ccc1b7ab56af5ecb94b0c9741067db0e5c8443.tar.gz
dexon-solidity-91ccc1b7ab56af5ecb94b0c9741067db0e5c8443.tar.zst
dexon-solidity-91ccc1b7ab56af5ecb94b0c9741067db0e5c8443.zip
Transaction Tests
transaction tests Transaction Test Work In Progress transaction test work in progress work in progress. check for transaction is valid Transaction Tests Work In Progress compiler error fix
Diffstat (limited to 'stTransactionTestFiller.json')
-rw-r--r--stTransactionTestFiller.json105
1 files changed, 98 insertions, 7 deletions
diff --git a/stTransactionTestFiller.json b/stTransactionTestFiller.json
index 09c323cf..c1c71a53 100644
--- a/stTransactionTestFiller.json
+++ b/stTransactionTestFiller.json
@@ -289,7 +289,7 @@
}
},
- "TransactionTooManyRlpElements" : {
+ "InternlCallStoreClearsOOG" : {
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "45678256",
@@ -301,24 +301,115 @@
"pre" :
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "balance" : "7000",
"code" : "",
"nonce" : "0",
"storage" : {
}
+ },
+
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10",
+ "//" : "gas = 19 going OOG, gas = 20 fine",
+ "code" : "{ (CALL 19 0 1 0 0 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0c",
+ "0x01" : "0x0c",
+ "0x02" : "0x0c",
+ "0x03" : "0x0c",
+ "0x04" : "0x0c",
+ "0x05" : "0x0c",
+ "0x06" : "0x0c",
+ "0x07" : "0x0c",
+ "0x08" : "0x0c",
+ "0x09" : "0x0c"
+ }
}
+
},
+
"transaction" :
{
"data" : "",
- "gasLimit" : "600",
- "gasLimit" : "1600",
+ "gasLimit" : "700",
"gasPrice" : "1",
- "gasPrice" : "12",
"nonce" : "",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d9",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "d2571607e241ecf590ed94b12d87c94babe36db6",
+ "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10"
+ }
+ },
+
+ "StoreClearsAndInternlCallStoreClearsOOG" : {
+ "env" : {
+ "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "10000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "7000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10",
+ "//" : "gas = 19 going OOG, gas = 20 fine",
+ "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0) (CALL 19 0 1 0 0 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0c",
+ "0x01" : "0x0c",
+ "0x02" : "0x0c",
+ "0x03" : "0x0c",
+ "0x04" : "0x0c"
+ }
+ },
+
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0c",
+ "0x01" : "0x0c",
+ "0x02" : "0x0c",
+ "0x03" : "0x0c",
+ "0x04" : "0x0c",
+ "0x05" : "0x0c",
+ "0x06" : "0x0c",
+ "0x07" : "0x0c",
+ "0x08" : "0x0c",
+ "0x09" : "0x0c"
+ }
+ }
+
+ },
+
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "700",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10"
}
},