From 9741ed0bc1fb660c5ffefd751c24bc739104ce5e Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 12 Sep 2017 15:56:29 +0300 Subject: refill precompiled tests add execution on <100000 100000+x >100000 gas for each test --- .../stZeroKnowledge/ecmul_1-3_5617_21000_96.json | 144 +++++++++++++++++++-- 1 file changed, 135 insertions(+), 9 deletions(-) (limited to 'GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_21000_96.json') diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_21000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_21000_96.json index a49c722aa..b200a38f0 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_21000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_21000_96.json @@ -2,8 +2,8 @@ "ecmul_1-3_5617_21000_96" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++", - "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_5617_21000_96Filler.json" + "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_5617_21000_96Filler.json" }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", @@ -13,7 +13,6 @@ "currentTimestamp" : "0x03e8", "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, - "explanation" : "Puts the point (1, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495617 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 21000 bytes", "post" : { "Byzantium" : [ { @@ -24,14 +23,30 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - } - ], - "Constantinople" : [ + }, { - "hash" : "0x4ce54adecd3b94c2f33df3c9913fa9a4fa791a0e276dabfe68e9335dca2a7531", + "hash" : "0x7f76203d0dc30d7bc00a16cb2419c4688c3c91dfdca17d962b43b8d7c08c162e", "indexes" : { "data" : 0, - "gas" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4e98657facf107cb0a492b6ee0253730a76ef031f6159d22a136e42730209513", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4c07fbff8255cf4af3093c8159090f4372a445e9f21ff5d54dec01e032b25f6b", + "indexes" : { + "data" : 0, + "gas" : 3, "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" @@ -46,6 +61,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP158" : [ @@ -57,6 +99,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc302ed969ea2769061f2734b8d0130a7acc0e4bc30bcd5f98aa7cbc3f7320bfb", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Frontier" : [ @@ -68,6 +137,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7f76203d0dc30d7bc00a16cb2419c4688c3c91dfdca17d962b43b8d7c08c162e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4e98657facf107cb0a492b6ee0253730a76ef031f6159d22a136e42730209513", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4c07fbff8255cf4af3093c8159090f4372a445e9f21ff5d54dec01e032b25f6b", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Homestead" : [ @@ -79,6 +175,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7f76203d0dc30d7bc00a16cb2419c4688c3c91dfdca17d962b43b8d7c08c162e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4e98657facf107cb0a492b6ee0253730a76ef031f6159d22a136e42730209513", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4c07fbff8255cf4af3093c8159090f4372a445e9f21ff5d54dec01e032b25f6b", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -229,7 +352,10 @@ "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000330644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001" ], "gasLimit" : [ - "0xb020" + "0xb020", + "0x015f90", + "0x01adb0", + "0x030d40" ], "gasPrice" : "0x1", "nonce" : "0x54", -- cgit v1.2.3