Test BLS12_G2MUL¶
Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2mul.py@54b46ea9.
Generate fixtures for these test cases for Osaka with:
fill -v tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2mul.py --fork Osaka
Test the BLS12_G2MUL precompile.
Test the BLS12_G2MUL precompile introduced in EIP-2537: Precompile for BLS12-381 curve operations.
Test Functions Overview¶
| Name | Type | Cases (Osaka) | Description |
|---|---|---|---|
test_valid |
state_test | 27 | Test the BLS12_G2MUL precompile. |
test_invalid |
state_test | 55 | Negative tests for the BLS12_G2MUL precompile. |
test_gas |
state_test | 2 | Test the BLS12_G2MUL precompile gas requirements. |
test_call_types |
state_test | 6 | Test the BLS12_G2MUL precompile using different call types. |