Skip to content

Commit e456490

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

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
@@ -370,6 +370,22 @@ def test_worst_modexp(
370370
384,
371371
id="bls12_pairing_check",
372372
),
373+
pytest.param(
374+
0x10,
375+
[
376+
"0000000000000000000000000000000014406e5bfb9209256a3820879a29ac2f62d6aca82324bf3ae2aa7d3c54792043bd8c791fccdb080c1a52dc68b8b69350",
377+
],
378+
64,
379+
id="bls12_fp_to_g1",
380+
),
381+
pytest.param(
382+
0x11,
383+
[
384+
"0000000000000000000000000000000014406e5bfb9209256a3820879a29ac2f62d6aca82324bf3ae2aa7d3c54792043bd8c791fccdb080c1a52dc68b8b69350000000000000000000000000000000000e885bb33996e12f07da69073e2c0cc880bc8eff26d2a724299eb12d54f4bcf26f4748bb020e80a7e3794a7b0e47a641",
385+
],
386+
128,
387+
id="bls12_fp_to_g2",
388+
),
373389
],
374390
)
375391
def test_worst_precompile_fixed_cost(

0 commit comments

Comments
 (0)