diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-04 18:57:15 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-04 18:57:15 +0800 |
commit | 22558f3be8542021415ba94b9474618f6efc09a1 (patch) | |
tree | af0031317bc0132f72e4c05ae256ae8c0f0b305c /src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json | |
parent | 9679eb690a57692df82d2851d53cf41796a3b672 (diff) | |
download | dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.gz dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.bz2 dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.lz dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.xz dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.tar.zst dexon-tests-22558f3be8542021415ba94b9474618f6efc09a1.zip |
create2 bounds + yoichi tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json b/src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json new file mode 100644 index 000000000..e8a8c0617 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/CREATE2_BoundsFiller.json @@ -0,0 +1,66 @@ +{ + "CREATE2_Bounds" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "// currentGasLimit" : "2^63-1", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "balance" : "100" + }, + "13136008b64ff592819b2fa6d43f2835c452020e" : { + "shouldnotexist" : "1" + }, + "7c5a2c91b22d7a9226523d4ba717db6afb741ebd" : { + "shouldnotexist" : "1" + } + } + } + ], + "pre" : + { + "1000000000000000000000000000000000000000" : { + "balance" : "100", + "code" : "{ (MSTORE 0 0x6001600155601080600c6000396000f3006000355415600957005b6020356000 ) (MSTORE8 32 0x35) (MSTORE8 33 0x55) (CREATE2 1 0 0 0) (CREATE2 1 0 0xfffffff 0) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xfffffffffffffffffffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "150000", "250000000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0" + ] + } + } +} |