From f71c2688e1a839f8429f7e94ec5e56bb182d82cf Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 09:11:00 +0300 Subject: regenerate hive tests --- .../modexp_3_5_100_155000.json | 232 ++++++++++++--------- 1 file changed, 136 insertions(+), 96 deletions(-) (limited to 'GeneralStateTests/stPreCompiledContracts/modexp_3_5_100_155000.json') diff --git a/GeneralStateTests/stPreCompiledContracts/modexp_3_5_100_155000.json b/GeneralStateTests/stPreCompiledContracts/modexp_3_5_100_155000.json index 719701846..5220bcb04 100644 --- a/GeneralStateTests/stPreCompiledContracts/modexp_3_5_100_155000.json +++ b/GeneralStateTests/stPreCompiledContracts/modexp_3_5_100_155000.json @@ -2,7 +2,7 @@ "modexp_3_5_100_155000" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_155000Filler.json" }, "env" : { @@ -10,137 +10,177 @@ "currentDifficulty" : "0x020000", "currentGasLimit" : "0x5f5e100", "currentNumber" : "0x1", - "currentTimestamp" : "0x03e8", + "currentTimestamp" : "1000", "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, - "explanation" : "Puts the base 3, exponent 5 and modulus 100 into the MODEXP precompile, saves the hash of the result. Gives the execution 155000 gas", - "post" : { - "EIP150" : [ - { - "hash" : "0x28984fd862291b29c481d50eb7e2d25c65da464f47f46759295bb874b590f29a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "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" : { + } + }, + "0000000000000000000000000000000000000008" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "3535353535353535353535353535353535353535" : { + "balance" : "175999", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { + "balance" : "999999999999824001", + "code" : "0x", + "nonce" : "2", + "storage" : { + } + }, + "c305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760876004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "1", + "storage" : { + "0x00" : "0x728b8dbbe730d9acd55e30e768e6a28a04bea0c61b88108287c2c87d79c98bb8" + } } } - ], - "EIP158" : [ - { - "hash" : "0x28984fd862291b29c481d50eb7e2d25c65da464f47f46759295bb874b590f29a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x2a433c99d44882387ed86d759e02a260171828d4425b19c3f0b57392dfe65156", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x2a433c99d44882387ed86d759e02a260171828d4425b19c3f0b57392dfe65156", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x6e4ac1910b666f49a10026acad50b424b233b7851fc851c6d9b125ad3eafcbb4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], + "explanation" : "Puts the base 3, exponent 5 and modulus 100 into the MODEXP precompile, saves the hash of the result. Gives the execution 155000 gas", "pre" : { - "0x0000000000000000000000000000000000000001" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000002" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000002" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000003" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000003" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000004" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000004" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000005" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000005" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000006" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000006" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000007" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000007" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x0000000000000000000000000000000000000008" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", + "0000000000000000000000000000000000000008" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x0201ee", - "code" : "", - "nonce" : "0x00", + "3535353535353535353535353535353535353535" : { + "balance" : "131566", + "code" : "0x", + "nonce" : "0", "storage" : { } }, - "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { - "balance" : "0x0de0b6b3a761fe12", - "code" : "", - "nonce" : "0x01", + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { + "balance" : "999999999999868434", + "code" : "0x", + "nonce" : "1", "storage" : { } }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", + "c305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0", "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760876004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", + "nonce" : "1", "storage" : { } } -- cgit v1.2.3