diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-03 23:36:10 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-03 23:36:10 +0800 |
commit | c6ea53a574a8a7716b4109f3afeb2580a914c2b4 (patch) | |
tree | ddbc9825a529d13a7ecebed1606012f8ad33b778 /GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json | |
parent | 55946c752613a5392c6b347d0a74956ffb361bd7 (diff) | |
download | dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar.gz dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar.bz2 dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar.lz dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar.xz dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.tar.zst dexon-tests-c6ea53a574a8a7716b4109f3afeb2580a914c2b4.zip |
create2 OOG tests
Diffstat (limited to 'GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json')
-rw-r--r-- | GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json b/GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json new file mode 100644 index 000000000..c761c7abd --- /dev/null +++ b/GeneralStateTests/stCreate2/Create2OOGafterInitCodeRevert.json @@ -0,0 +1,71 @@ +{ + "Create2OOGafterInitCodeRevert" : { + "_info" : { + "comment" : "Calls a contract that runs CREATE2 which deploy a code. then after deployment and exiting from CREATE a REVERT is called. check the REVERT data in this case equal to RETURN value of CREATE", + "filledwith" : "testeth 1.5.0.dev2+commit.61415d73.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/Create2OOGafterInitCodeRevertFiller.json", + "sourceHash" : "322b6599fbb154316afcebcdfa7c2a336f46d2699dd61fc163416b66806f7b75" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xc07567e7eac6634ae46171eeeaeb9abd01058e2a1fd7fe1526aada0ed9d2f14e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6d6460016001556000526005601bf36000526000600e60126000f55060206000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6020600060006000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af150600051600155", + "nonce" : "0x00", + "storage" : { + "0x01" : "0x01" + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0124f8" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |