Skip to content

Commit 6873d81

Browse files
committed
renamings
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent 95eeb28 commit 6873d81

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,8 @@ def test_worst_modexp(
297297
pytest.param(
298298
0x08,
299299
[
300-
# TODO: the following are only two inputs, but this can be extended
301-
# to more inputs to amortize costs as much as possible. Additionally,
302-
# there might be worse pairings that can be used.
300+
# This test optimizes for the maximum number of final exponentiations.
301+
# For base cost amortization, see test_worst_bn128_pairing_miller.
303302
#
304303
# First pairing
305304
"1C76476F4DEF4BB94541D57EBBA1193381FFA7AA76ADA664DD31C16024C43F59",
@@ -316,7 +315,7 @@ def test_worst_modexp(
316315
"090689D0585FF075EC9E99AD690C3395BC4B313370B38EF355ACDADCD122975B",
317316
"12C85EA5DB8C6DEB4AAB71808DCB408FE3D1E7690C43D37B4CE6CC0166FA7DAA",
318317
],
319-
id="bn128_pairing",
318+
id="bn128_pairing_final_exp",
320319
),
321320
pytest.param(
322321
Blake2bSpec.BLAKE2_PRECOMPILE_ADDRESS,

0 commit comments

Comments
 (0)