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 --- ...366920938463463374607431768211456_21000_96.json | 144 +++++++++++++++++++-- 1 file changed, 135 insertions(+), 9 deletions(-) (limited to 'GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96.json') diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96.json index 9e4a9eb6c..74ee86d5b 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96.json @@ -2,8 +2,8 @@ "ecmul_1-2_340282366920938463463374607431768211456_21000_96" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++", - "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96Filler.json" + "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_21000_96Filler.json" }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", @@ -13,7 +13,6 @@ "currentTimestamp" : "0x03e8", "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, - "explanation" : "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 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" : "0xee43d77e1b1082687e390f799ed6f03f7e7817643020a419a4242fc59bd23ef9", + "hash" : "0x4ab697c8841b26d5378f3e6c04344fcfd84a4c609342ac8a7e2c7a0bb88eea92", "indexes" : { "data" : 0, - "gas" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4ab697c8841b26d5378f3e6c04344fcfd84a4c609342ac8a7e2c7a0bb88eea92", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x4ab697c8841b26d5378f3e6c04344fcfd84a4c609342ac8a7e2c7a0bb88eea92", + "indexes" : { + "data" : 0, + "gas" : 3, "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" @@ -46,6 +61,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP158" : [ @@ -57,6 +99,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xae40ee76e077d373e9a150fb6c51acc342cf2ff0468a6ad7a37c7c851ccd1907", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Frontier" : [ @@ -68,6 +137,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x04b634756369d0b78666c71d1b9a14760959e77acb115eb4faa631afd7116abd", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc43fccdf858ee819c81d8103dc5ad4ffec0fdb69334eb4bf5683d7b536bbeea4", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb323e8b363f3aee48485fc878ecd4bcb7273aff999e32430d5e3fee914e23f92", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Homestead" : [ @@ -79,6 +175,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x04b634756369d0b78666c71d1b9a14760959e77acb115eb4faa631afd7116abd", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc43fccdf858ee819c81d8103dc5ad4ffec0fdb69334eb4bf5683d7b536bbeea4", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb323e8b363f3aee48485fc878ecd4bcb7273aff999e32430d5e3fee914e23f92", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -229,7 +352,10 @@ "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" ], "gasLimit" : [ - "0xa8e0" + "0xa8e0", + "0x015f90", + "0x01adb0", + "0x030d40" ], "gasPrice" : "0x1", "nonce" : "0x38", -- cgit v1.2.3