Skip to content

Test BLS12_G1MSM

Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g1msm.py@02aafd78.

Generate fixtures for these test cases for Bogota with:

fill -v tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g1msm.py --fork Bogota

Test the BLS12_G1MSM precompile.

Test the BLS12_G1MSM precompile introduced in EIP-2537: Precompile for BLS12-381 curve operations.

Test Functions Overview

Name Type Cases (Bogota) Description
test_call_types state_test 6 Test the BLS12_G1MSM precompile using different call types.
test_valid state_test 173 Test valid calls to the BLS12_G1MSM precompile.
test_invalid state_test 32 Test invalid calls to the BLS12_G1MSM precompile.