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/stCallCodes/callcodeDynamicCode.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/stCallCodes/callcodeDynamicCode.json')
-rw-r--r-- | GeneralStateTests/stCallCodes/callcodeDynamicCode.json | 149 |
1 files changed, 80 insertions, 69 deletions
diff --git a/GeneralStateTests/stCallCodes/callcodeDynamicCode.json b/GeneralStateTests/stCallCodes/callcodeDynamicCode.json index cfaa20e13..c0a262b63 100644 --- a/GeneralStateTests/stCallCodes/callcodeDynamicCode.json +++ b/GeneralStateTests/stCallCodes/callcodeDynamicCode.json @@ -6,83 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stCallCodes/callcodeDynamicCodeFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP150" - ], - "result" : { - "13136008b64ff592819b2fa6d43f2835c452020e" : { - "balance" : "0x00", - "storage" : { - "0x00" : "0x01", - "0x0a" : "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6", - "0x0b" : "0x01", - "0x14" : "0x13136008b64ff592819b2fa6d43f2835c452020e" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x70c391c82965c0b9b701f5175b9f417a873e923e8742b5e9bff4413541ccde63", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6" : { - "balance" : "0x01" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : "EIP158", - "result" : { - "13136008b64ff592819b2fa6d43f2835c452020e" : { - "balance" : "0x00", - "storage" : { - "0x00" : "0", - "0x0a" : "0x568a95f77b047bece6aa68843d2019332c46a585", - "0x0b" : "0x01", - "0x14" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0x41e3f2ade5c27789716737d703559dd8a53f868baf7a876c408fcdb48d0df9b7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "568a95f77b047bece6aa68843d2019332c46a585" : { - "balance" : "0x01" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x17388b6d68e240d2ac5841e36517ca05e9c61adc44787471fc40e5683f8279c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x17388b6d68e240d2ac5841e36517ca05e9c61adc44787471fc40e5683f8279c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x41e3f2ade5c27789716737d703559dd8a53f868baf7a876c408fcdb48d0df9b7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "1000000000000000000000000000000000000000" : { - "balance" : "10000", - "code" : "{ (MSTORE 0 0x716860016000553360145560005260096017f36000526012600e6001f0600a55) (MSTORE 32 0x6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662) \t\t\t\t (MSTORE 64 0x0186a0f2600b5500000000000000000000000000000000000000000000000000) (CREATE 1 0 96) }", - "nonce" : "0", + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x2710", + "code" : "0x7f716860016000553360145560005260096017f36000526012600e6001f0600a556000527f6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6626020527f0186a0f2600b5500000000000000000000000000000000000000000000000000604052606060006001f0", + "nonce" : "0x00", "storage" : { } }, - "1000000000000000000000000000000000000001" : { - "balance" : "1000", - "code" : "{ (MSTORE 0 0x6001600055) (CREATE 1 27 5) }", - "nonce" : "0", + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x03e8", + "code" : "0x6460016000556000526005601b6001f0", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000000000000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x2386f26fc10000", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -92,14 +103,14 @@ "" ], "gasLimit" : [ - "453081" + "0x06e9d9" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", "value" : [ - "" + "0x00" ] } } |