Skip to content

Commit 63ae656

Browse files
committed
add bls_map tests
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent 87a5621 commit 63ae656

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,22 @@ def test_worst_modexp(
391391
384,
392392
id="bls12_pairing_check",
393393
),
394+
pytest.param(
395+
0x10,
396+
[
397+
"0000000000000000000000000000000014406e5bfb9209256a3820879a29ac2f62d6aca82324bf3ae2aa7d3c54792043bd8c791fccdb080c1a52dc68b8b69350",
398+
],
399+
64,
400+
id="bls12_fp_to_g1",
401+
),
402+
pytest.param(
403+
0x11,
404+
[
405+
"0000000000000000000000000000000014406e5bfb9209256a3820879a29ac2f62d6aca82324bf3ae2aa7d3c54792043bd8c791fccdb080c1a52dc68b8b69350000000000000000000000000000000000e885bb33996e12f07da69073e2c0cc880bc8eff26d2a724299eb12d54f4bcf26f4748bb020e80a7e3794a7b0e47a641",
406+
],
407+
128,
408+
id="bls12_fp_to_g2",
409+
),
394410
],
395411
)
396412
def test_worst_precompile_fixed_cost(

0 commit comments

Comments
 (0)