Skip to content

Test Bls12 381

Documentation for tests/benchmark/compute/precompile/test_bls12_381.py@7b8124a7.

Generate fixtures for these test cases for Osaka with:

fill -v tests/benchmark/compute/precompile/test_bls12_381.py --gas-benchmark-values 1

Benchmark BLS12_381 precompile.

Test Functions Overview

Name Type Cases (Osaka) Description
test_bls12_g2_msm benchmark_test 4 Benchmark BLS12_G2_MSM precompile with varying number of points.
test_bls12_381 benchmark_test 7 Benchmark BLS12_381 precompile.
test_bls12_g1_msm benchmark_test 4 Benchmark BLS12_G1_MSM precompile with varying number of points.
test_bls12_pairing benchmark_test 5 Benchmark BLS12_PAIRING precompile with varying number of pairs.