aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests/stTransactionTest.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-02-06 22:38:55 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-02-06 22:38:55 +0800
commita3780032bf5789b20bbd33e29933f443049b8a99 (patch)
tree8d1671f84798f22a03fd0b401677ca650221de20 /StateTests/stTransactionTest.json
parent16ab9491108570b4f583430c93323c5943765dd2 (diff)
downloadtangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar.gz
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar.bz2
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar.lz
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar.xz
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.tar.zst
tangerine-tests-a3780032bf5789b20bbd33e29933f443049b8a99.zip
failing tests from random simulation as state tests and transaction tests
Diffstat (limited to 'StateTests/stTransactionTest.json')
-rw-r--r--StateTests/stTransactionTest.json91
1 files changed, 89 insertions, 2 deletions
diff --git a/StateTests/stTransactionTest.json b/StateTests/stTransactionTest.json
index 857882f2c..345bccf7d 100644
--- a/StateTests/stTransactionTest.json
+++ b/StateTests/stTransactionTest.json
@@ -441,7 +441,7 @@
"value" : "0"
}
},
- "TransactionFromCoinbaseNotEnoughFounds" : {
+ "TransactionFromCoinbaseHittingBlockGasLimit" : {
"env" : {
"currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "45678256",
@@ -454,7 +454,94 @@
],
"out" : "0x",
"post" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999990",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "1100",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10"
+ }
+ },
+ "TransactionFromCoinbaseHittingBlockGasLimit1" : {
+ "env" : {
+ "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "1100",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "1101",
+ "gasPrice" : "1",
+ "nonce" : "",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10"
+ }
+ },
+ "TransactionFromCoinbaseNotEnoughFounds" : {
+ "env" : {
+ "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "1100",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000",
"code" : "0x",
"nonce" : "0",
@@ -463,7 +550,7 @@
}
},
"pre" : {
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000",
"code" : "0x",
"nonce" : "0",