From 78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 11:04:30 +0300 Subject: update general tests --- .../stZeroKnowledge/ecmul_1-2_1_28000_128.json | 369 ++++++++------------- 1 file changed, 138 insertions(+), 231 deletions(-) (limited to 'GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_128.json') diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_128.json index f8e0491be..83dd7c82f 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_128.json @@ -10,304 +10,211 @@ "currentDifficulty" : "0x020000", "currentGasLimit" : "0x5f5e100", "currentNumber" : "0x01", - "currentTimestamp" : "1000", + "currentTimestamp" : "0x03e8", "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, - "expect" : [ - { - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000001" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000002" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000003" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000004" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000005" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000006" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000007" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "3535353535353535353535353535353535353535" : { - "balance" : "5443938", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "598443f1880ef585b21f1d7585bd0577402861e5" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "77db2bebba79db42a978f896968f4afce746ea1f" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { - "balance" : "999999999994556062", - "code" : "0x", - "nonce" : "124", - "storage" : { - } + "explanation" : "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x392ef017c54ac343289c865f4c9bbf7498f7d4020958dd2679af4b99f9ae955c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0x392ef017c54ac343289c865f4c9bbf7498f7d4020958dd2679af4b99f9ae955c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x9898f1789c61ce1f447e4321baa11e9b793d6b35316d530c8a84ea717935261d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "1", - "storage" : { - "0x00" : "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" - } + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x9898f1789c61ce1f447e4321baa11e9b793d6b35316d530c8a84ea717935261d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x82631f4fbc05996922ad7da35ded7ebf24d8dbaf49e8ebeb7e3ad1cf98969df7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", - "storage" : { - } - } + "logs" : [ + ] } - } - ], - "explanation" : "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000001" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000002" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000003" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000004" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000005" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000006" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000007" : { - "balance" : "1", - "code" : "0x", - "nonce" : "0", + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "3535353535353535353535353535353535353535" : { - "balance" : "5412678", - "code" : "0x", - "nonce" : "0", + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x529746", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "598443f1880ef585b21f1d7585bd0577402861e5" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x598443f1880ef585b21f1d7585bd0577402861e5" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "77db2bebba79db42a978f896968f4afce746ea1f" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x77db2bebba79db42a978f896968f4afce746ea1f" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { - "balance" : "999999999994587322", - "code" : "0x", - "nonce" : "123", + "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { + "balance" : "0x0de0b6b3a71168ba", + "code" : "", + "nonce" : "0x7b", "storage" : { } }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "c305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0", + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "1", + "nonce" : "0x01", "storage" : { "0x00" : "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" } }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "1000000000000000000", - "code" : "0x", - "nonce" : "0", + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", "storage" : { } } -- cgit