Skip to content

Test BLS12_G2MSM

Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2msm.py@14a7429a.

Generate fixtures for these test cases for Prague with:

fill -v tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2msm.py --fork Prague
Tests BLS12_G2MSM precompile of EIP-2537: Precompile for BLS12-381 curve operations

Tests BLS12_G2MSM precompile of EIP-2537: Precompile for BLS12-381 curve operations.

Test Functions Overview

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