aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-03-22 17:38:23 +0800
committerDimitry <dimitry@ethdev.com>2017-03-22 17:38:23 +0800
commited177d16a2e2784b8dd6c454b8c4c5e1288c3ad6 (patch)
treed6921cdd32dcc956f85c1b6af4ea0a8a4a54f8ce /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json
parent8858744aa1ce1be54f2c5149cb4c4b2ce0090cc6 (diff)
downloaddexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar.gz
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar.bz2
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar.lz
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar.xz
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.tar.zst
dexon-tests-ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6.zip
zeroSig Transaction test fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json
new file mode 100644
index 000000000..730166c84
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json
@@ -0,0 +1,92 @@
+{
+ "zeroSigTransactionInvNonce" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead", "EIP158", "EIP150"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [1,2],
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [0],
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "{ [[0]] 1 }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "", "0x1122334455667788990011223344556677889910"
+ ],
+ "gasLimit" : [
+ "60000", "21000", "121000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "10",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}