diff options
author | Dimitry <winsvega@mail.ru> | 2017-08-01 16:04:30 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-08-01 16:04:30 +0800 |
commit | 78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 (patch) | |
tree | c3d6bf604954c6fbd3f0416d972ca922dda331c3 /GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json | |
parent | f71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff) | |
download | dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.bz2 dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.lz dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.xz dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip |
update general tests
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json | 99 |
1 files changed, 61 insertions, 38 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json b/GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json index f6ab6fcfd..c4cea39b9 100644 --- a/GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json +++ b/GeneralStateTests/stRevertTest/RevertOpcodeInCreateReturns.json @@ -13,49 +13,72 @@ "currentTimestamp" : "0x03e8", "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x00" : "1" - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x8fcc22c78f69ebea32ecc3a7de600adbb880b827e999cda3e48813df7e8c6452", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x00" : "32" - } - } + ], + "EIP158" : [ + { + "hash" : "0x8fcc22c78f69ebea32ecc3a7de600adbb880b827e999cda3e48813df7e8c6452", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x8fcc22c78f69ebea32ecc3a7de600adbb880b827e999cda3e48813df7e8c6452", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x8fcc22c78f69ebea32ecc3a7de600adbb880b827e999cda3e48813df7e8c6452", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xb64861edcf7d90039fa4a050b54bc953a2467a8035ea36706ad3b0d09560ae46", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x00", - "code" : "{ (seq (CREATE 0 0 (lll (seq (mstore 0 0x112233) (revert 0 32)) 0)) (SSTORE 0 (RETURNDATASIZE)) )}", + "code" : "0x600c80601360003960006000f0503d600055006211223360005260206000fd", "nonce" : "0x00", "storage" : { "0x00" : "0x01" |