aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2017-06-24 04:21:38 +0800
committerGitHub <noreply@github.com>2017-06-24 04:21:38 +0800
commit4988d34926ed84976466805527e12e90344f79dd (patch)
tree1aa54687d4c0a13e2957988a4495fbdddf546470 /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json
parenta83f7cf93747ae96c16e0cf2d987ec1ba7367128 (diff)
parente9e8dc0219a2017fa318bda4c997d1192d1fc498 (diff)
downloaddexon-tests-4988d34926ed84976466805527e12e90344f79dd.tar.gz
dexon-tests-4988d34926ed84976466805527e12e90344f79dd.tar.zst
dexon-tests-4988d34926ed84976466805527e12e90344f79dd.zip
Merge pull request #162 from ethereum/eip86test
Eip86test (zeroSigTransaction, newCreate rule)
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"
+ ]
+ }
+ }
+}