diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2018-04-05 23:04:28 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2018-04-10 20:36:02 +0800 |
commit | 953d2a02065924084e1ed31ab829cccbae6155bf (patch) | |
tree | 0a748bc60c93e246222547740b93b1a622a225e8 /src/GeneralStateTestsFiller/stRandom2 | |
parent | 1ad3f12642c56ba19d1c574863a41ab1e1fd1921 (diff) | |
download | dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar.gz dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar.bz2 dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar.lz dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar.xz dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.tar.zst dexon-tests-953d2a02065924084e1ed31ab829cccbae6155bf.zip |
Add a GeneralStateTest filler instead of a removed VMtest
Diffstat (limited to 'src/GeneralStateTestsFiller/stRandom2')
-rw-r--r-- | src/GeneralStateTestsFiller/stRandom2/201503110226PYTHON_DUP6Filler.json | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRandom2/201503110226PYTHON_DUP6Filler.json b/src/GeneralStateTestsFiller/stRandom2/201503110226PYTHON_DUP6Filler.json new file mode 100644 index 000000000..25a1512b3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRandom2/201503110226PYTHON_DUP6Filler.json @@ -0,0 +1,58 @@ +{ + "201503110226PYTHON_DUP6" : { + "_info" : { + "comment" : "This test used to be a VM test and it once failed in python client some day. Since the test contains a BALANCE instruction (which must be mocked), it's moved to GeneralSateTest https://github.com/ethereum/tests/pull/445/files#r179426325" + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "pre": { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "balance": "0x38beec8feeca2598", + "code": "", + "nonce": "0x00", + "storage": {} + }, + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x45414443434042405b85", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "secretKey": "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "data" : ["0x"], + "gasLimit" : ["10000"], + "gasPrice" : "100000000000000", + "value" : ["1000000000000000000"], + "nonce" : "0x00" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Frontier"], + "result" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x45414443434042405b85", + "nonce" : "0", + "storage" : { + } + } + } + } + ] + } +} |