aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-04-27 21:39:03 +0800
committerDimitry <winsvega@mail.ru>2017-06-23 18:46:12 +0800
commit97ec6e82432e85c975ac2394ea6776c0c7fbd35a (patch)
tree9298c7a93bd1e2d9073062f82c0bfb617bce0327 /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
parent81900ef03fa44d2a9472966430311f6ea6d162a8 (diff)
downloadtangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar.gz
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar.bz2
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar.lz
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar.xz
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.tar.zst
tangerine-tests-97ec6e82432e85c975ac2394ea6776c0c7fbd35a.zip
more zeroSigTransaction tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json248
1 files changed, 248 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
new file mode 100644
index 000000000..b8dfbed66
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
@@ -0,0 +1,248 @@
+{
+ "zeroSigTransactionToZero2" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : 1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "3000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [0],
+ "gas" : [0],
+ "value" : 0
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0xffffffffffffffffffffffffffffffffffffffff",
+ "0x03" : "0xa000000000000000000000000000000000000000"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [1],
+ "gas" : [0],
+ "value" : 0
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0xffffffffffffffffffffffffffffffffffffffff",
+ "0x03" : "0xa000000000000000000000000000000000000000"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [2],
+ "gas" : [0],
+ "value" : 0
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "3000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0xffffffffffffffffffffffffffffffffffffffff",
+ "0x03" : "0xa000000000000000000000000000000000000000"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [1,2],
+ "value" : 0
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "3000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
+ "result" : {
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "100000",
+ "code" : "{ [[0]](CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "100000",
+ "code" : "{ [[1]] (CALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "balance" : "100000",
+ "code" : "{ [[1]] (CALLCODE (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "3000000000000000000000000000000000000000" : {
+ "balance" : "100000",
+ "code" : "{ [[1]] (DELEGATECALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x0000000000000000000000001000000000000000000000000000000000000000",
+ "0x0000000000000000000000002000000000000000000000000000000000000000",
+ "0x0000000000000000000000003000000000000000000000000000000000000000"
+ ],
+ "gasLimit" : [
+ "600000", "20000", "0"
+ ],
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0", "100"
+ ]
+ }
+ }
+}