diff options
author | Dimitry <dimitry@ethdev.com> | 2017-03-22 17:38:23 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2017-03-22 17:38:23 +0800 |
commit | ed177d16a2e2784b8dd6c454b8c4c5e1288c3ad6 (patch) | |
tree | d6921cdd32dcc956f85c1b6af4ea0a8a4a54f8ce /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json | |
parent | 8858744aa1ce1be54f2c5149cb4c4b2ce0090cc6 (diff) | |
download | dexon-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/zeroSigTransaction0PriceFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json new file mode 100644 index 000000000..740db9d0f --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json @@ -0,0 +1,92 @@ +{ + "zeroSigTransaction0Price" : { + "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" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "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", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} |