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-2_0_21000_80.json | 144 +++++++++++++++++++-- 1 file changed, 135 insertions(+), 9 deletions(-) (limited to 'GeneralStateTests/stZeroKnowledge/ecmul_1-2_0_21000_80.json') diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_0_21000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_0_21000_80.json index 7eb42d09f..8c853b2a2 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_0_21000_80.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_0_21000_80.json @@ -2,8 +2,8 @@ "ecmul_1-2_0_21000_80" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++", - "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_0_21000_80Filler.json" + "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_0_21000_80Filler.json" }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", @@ -13,7 +13,6 @@ "currentTimestamp" : "0x03e8", "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, - "explanation" : "Puts the point (1, 2) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 21000 bytes", "post" : { "Byzantium" : [ { @@ -24,14 +23,30 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - } - ], - "Constantinople" : [ + }, { - "hash" : "0x1e4d8647fd838e80a081a069c14e553fc488531e005a7d3e0925104d43b0fee1", + "hash" : "0x0b2ef70fb7335c61786763b4bf65b6d104b7ce4598d479ca3f578ecfc0a43715", "indexes" : { "data" : 0, - "gas" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x0b2ef70fb7335c61786763b4bf65b6d104b7ce4598d479ca3f578ecfc0a43715", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x0b2ef70fb7335c61786763b4bf65b6d104b7ce4598d479ca3f578ecfc0a43715", + "indexes" : { + "data" : 0, + "gas" : 3, "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" @@ -46,6 +61,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP158" : [ @@ -57,6 +99,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x730e4ab40eaf8cc96792312fcde92ad9cb6200ff4efa01f8da89c7094389f884", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Frontier" : [ @@ -68,6 +137,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x5e08dc7aab844870b6701ee0a466432fb891456e23684277317e2e269348a052", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc7f6e0527f18e6cdfabab0f21b4d71c9472d666757453a53dbfe333c598025e4", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x6577fe4e2e948bb93b2bef8e09bca7af35b98efcc5597ad3d7a848e3c244b189", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Homestead" : [ @@ -79,6 +175,33 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x5e08dc7aab844870b6701ee0a466432fb891456e23684277317e2e269348a052", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc7f6e0527f18e6cdfabab0f21b4d71c9472d666757453a53dbfe333c598025e4", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x6577fe4e2e948bb93b2bef8e09bca7af35b98efcc5597ad3d7a848e3c244b189", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -229,7 +352,10 @@ "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" ], "gasLimit" : [ - "0xa8a0" + "0xa8a0", + "0x015f90", + "0x01adb0", + "0x030d40" ], "gasPrice" : "0x1", "nonce" : "0xa", -- cgit v1.2.3