diff options
author | winsvega <winsvega@mail.ru> | 2018-09-04 00:18:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 00:18:58 +0800 |
commit | 9679eb690a57692df82d2851d53cf41796a3b672 (patch) | |
tree | ddbc9825a529d13a7ecebed1606012f8ad33b778 /src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json | |
parent | 55946c752613a5392c6b347d0a74956ffb361bd7 (diff) | |
parent | c6ea53a574a8a7716b4109f3afeb2580a914c2b4 (diff) | |
download | dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar.gz dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar.bz2 dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar.lz dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar.xz dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.tar.zst dexon-tests-9679eb690a57692df82d2851d53cf41796a3b672.zip |
Merge pull request #495 from ethereum/create2
create2 OOG tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json b/src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json new file mode 100644 index 000000000..a21584552 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeFiller.json @@ -0,0 +1,83 @@ +{ + "Create2OOGafterInitCode" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0" + } + }, + "0x6878b140f875209c82ab4d5f083b55947299ef6b" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0" + } + }, + "0x6878b140f875209c82ab4d5f083b55947299ef6b" : { + "code" : "0x6001600155" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "nonce" : "0", + "//code" : "(SSTORE 1 1) RETURN", + "code" : "{ (MSTORE 0 0x6460016001556000526005601bf3) (CREATE2 0 18 14 0) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "54000", "55000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} |