aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-04-11 16:56:07 +0800
committerDimitry <dimitry@ethdev.com>2017-04-11 16:56:07 +0800
commitef191fdc61cf76cdb9cdc147465fb447304b0ed2 (patch)
tree86681bd6eac32067d5294a8b7dd7a94e43a04f90 /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json
parent2724b84dc8b9a74c2983a837e9c7ed3c50502aa7 (diff)
parent784eacb609e6c7754e034706ddaa4957dc45d054 (diff)
downloadtangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar.gz
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar.bz2
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar.lz
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar.xz
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.tar.zst
tangerine-tests-ef191fdc61cf76cdb9cdc147465fb447304b0ed2.zip
Merge branch 'zeroTransaction' into develop
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json119
1 files changed, 119 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json
new file mode 100644
index 000000000..58ac55dd5
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json
@@ -0,0 +1,119 @@
+{
+ "zeroSigTransaction" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [1,2],
+ "value" : -1
+ },
+ "network" : ["ALL"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "nonce" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "nonce" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [0,3],
+ "value" : 0
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "nonce" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [0],
+ "value" : 1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "nonce" : "0"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "{ [[0]] 1 }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "", "0x1122334455667788990011223344556677889910"
+ ],
+ "gasLimit" : [
+ "60000", "20000", "21000", "121000"
+ ],
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}