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_28000_128.json | 144 +++++++++++++++++++-- 1 file changed, 135 insertions(+), 9 deletions(-) (limited to 'GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_28000_128.json') diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_28000_128.json index 1c32b30eb..a0bb24ad8 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_5617_28000_128.json @@ -2,8 +2,8 @@ "ecmul_1-3_5617_28000_128" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++", - "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_5617_28000_128Filler.json" + "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_5617_28000_128Filler.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 128 bytes. Gives the execution 28000 bytes", "post" : { "Byzantium" : [ { @@ -24,14 +23,30 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - } - ], - "Constantinople" : [ + }, { - "hash" : "0x69059684797cb84e59cbbb65a689b13f4eaca74c7b25e076776bb3e169064d24", + "hash" : "0xce537084822e58b46ccc42cf527a59f904c0064962bb31c9754a8798538bec56", "indexes" : { "data" : 0, - "gas" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x13288e06ab57a8b07d66c93a55f8442e3c93ba515dd92fc14e9045664f7275cb", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe8091f6f551ea12b3c2e2f96c37b34f00d7849f4a754ad18f6e445314bf2f319", + "indexes" : { + "data" : 0, + "gas" : 3, "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" @@ -46,6 +61,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP158" : [ @@ -57,6 +99,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9fbc671e30785285cc645cc9ce1acd58cdf14e5a1417cfd7f5f78633e8231b79", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Frontier" : [ @@ -68,6 +137,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xce537084822e58b46ccc42cf527a59f904c0064962bb31c9754a8798538bec56", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x13288e06ab57a8b07d66c93a55f8442e3c93ba515dd92fc14e9045664f7275cb", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe8091f6f551ea12b3c2e2f96c37b34f00d7849f4a754ad18f6e445314bf2f319", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Homestead" : [ @@ -79,6 +175,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xce537084822e58b46ccc42cf527a59f904c0064962bb31c9754a8798538bec56", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x13288e06ab57a8b07d66c93a55f8442e3c93ba515dd92fc14e9045664f7275cb", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe8091f6f551ea12b3c2e2f96c37b34f00d7849f4a754ad18f6e445314bf2f319", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -230,7 +353,10 @@ "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000330644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000010000000000000000000000000000000000000000000000000000000000000000" ], "gasLimit" : [ - "0xcbf8" + "0xcbf8", + "0x015f90", + "0x01adb0", + "0x030d40" ], "gasPrice" : "0x1", "nonce" : "0xb6", -- cgit