Skip to content

Test Bls12 Pairing - Test Cases

Test cases generated from tests/prague/eip2537_bls_12_381_precompiles/test_bls12_pairing.py

Parametrized test cases generated from the test module tests/prague/eip2537_bls_12_381_precompiles/test_bls12_pairing.py:

test_valid[fork_Prague-blockchain_test-bls_pairing_e(G1,0)=e(0,G2)-]
test_valid[fork_Prague-blockchain_test-bls_pairing_non-degeneracy-]
test_valid[fork_Prague-blockchain_test-bls_pairing_bilinearity-]
test_valid[fork_Prague-blockchain_test-bls_pairing_e(G1,-G2)=e(-G1,G2)-]
test_valid[fork_Prague-blockchain_test-bls_pairing_e(aG1,bG2)=e(abG1,G2)-]
test_valid[fork_Prague-blockchain_test-bls_pairing_e(aG1,bG2)=e(G1,abG2)-]
test_valid[fork_Prague-blockchain_test-inf_pair-]
test_valid[fork_Prague-blockchain_test-multi_inf_pair-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_e(G1,0)=e(0,G2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_non-degeneracy-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_bilinearity-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_e(G1,-G2)=e(-G1,G2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_e(aG1,bG2)=e(abG1,G2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_pairing_e(aG1,bG2)=e(G1,abG2)-]
test_valid[fork_Prague-blockchain_test_engine-inf_pair-]
test_valid[fork_Prague-blockchain_test_engine-multi_inf_pair-]
test_valid[fork_Prague-state_test-bls_pairing_e(G1,0)=e(0,G2)-]
test_valid[fork_Prague-state_test-bls_pairing_non-degeneracy-]
test_valid[fork_Prague-state_test-bls_pairing_bilinearity-]
test_valid[fork_Prague-state_test-bls_pairing_e(G1,-G2)=e(-G1,G2)-]
test_valid[fork_Prague-state_test-bls_pairing_e(aG1,bG2)=e(abG1,G2)-]
test_valid[fork_Prague-state_test-bls_pairing_e(aG1,bG2)=e(G1,abG2)-]
test_valid[fork_Prague-state_test-inf_pair-]
test_valid[fork_Prague-state_test-multi_inf_pair-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_empty_input-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_missing_data-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_extra_data-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_top_bytes-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_g1_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_g2_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test--g1_P_g2_inf_1-]
test_invalid[fork_Prague-blockchain_test--g1_P_g2_inf_2-]
test_invalid[fork_Prague-blockchain_test--g1_inf_g2_P_1-]
test_invalid[fork_Prague-blockchain_test--g1_inf_g2_P_2-]
test_invalid[fork_Prague-blockchain_test--g1_inf_g2_P_3-]
test_invalid[fork_Prague-blockchain_test--g1_inf_g2_P_4-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding_g1-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding_g2-]
test_invalid[fork_Prague-blockchain_test--multi_inf_plus_g1_P_g2_inf_1-]
test_invalid[fork_Prague-blockchain_test--P1_not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test--P2_not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_missing_data-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_extra_data-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_top_bytes-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_g1_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_g2_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--g1_P_g2_inf_1-]
test_invalid[fork_Prague-blockchain_test_engine--g1_P_g2_inf_2-]
test_invalid[fork_Prague-blockchain_test_engine--g1_inf_g2_P_1-]
test_invalid[fork_Prague-blockchain_test_engine--g1_inf_g2_P_2-]
test_invalid[fork_Prague-blockchain_test_engine--g1_inf_g2_P_3-]
test_invalid[fork_Prague-blockchain_test_engine--g1_inf_g2_P_4-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding_g1-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding_g2-]
test_invalid[fork_Prague-blockchain_test_engine--multi_inf_plus_g1_P_g2_inf_1-]
test_invalid[fork_Prague-blockchain_test_engine--P1_not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--P2_not_in_subgroup-]
test_invalid[fork_Prague-state_test--bls_pairing_empty_input-]
test_invalid[fork_Prague-state_test--bls_pairing_missing_data-]
test_invalid[fork_Prague-state_test--bls_pairing_extra_data-]
test_invalid[fork_Prague-state_test--bls_pairing_top_bytes-]
test_invalid[fork_Prague-state_test--bls_pairing_invalid_field_element-]
test_invalid[fork_Prague-state_test--bls_pairing_g1_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_pairing_g2_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_pairing_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-state_test--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-state_test--g1_P_g2_inf_1-]
test_invalid[fork_Prague-state_test--g1_P_g2_inf_2-]
test_invalid[fork_Prague-state_test--g1_inf_g2_P_1-]
test_invalid[fork_Prague-state_test--g1_inf_g2_P_2-]
test_invalid[fork_Prague-state_test--g1_inf_g2_P_3-]
test_invalid[fork_Prague-state_test--g1_inf_g2_P_4-]
test_invalid[fork_Prague-state_test--invalid_encoding_g1-]
test_invalid[fork_Prague-state_test--invalid_encoding_g2-]
test_invalid[fork_Prague-state_test--multi_inf_plus_g1_P_g2_inf_1-]
test_invalid[fork_Prague-state_test--P1_not_in_subgroup-]
test_invalid[fork_Prague-state_test--P2_not_in_subgroup-]
test_call_types[fork_Prague-blockchain_test-inf_pair-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test-inf_pair-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test-inf_pair-call_opcode_CALLCODE-]
test_call_types[fork_Prague-blockchain_test_engine-inf_pair-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_pair-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_pair-call_opcode_CALLCODE-]
test_call_types[fork_Prague-state_test-inf_pair-call_opcode_STATICCALL-]
test_call_types[fork_Prague-state_test-inf_pair-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-state_test-inf_pair-call_opcode_CALLCODE-]

This output was extracted from the result of:

fill -p pytest_plugins.filler.pre_alloc -p pytest_plugins.filler.filler -p pytest_plugins.forks.forks -p pytest_plugins.spec_version_checker.spec_version_checker -p pytest_plugins.help.help -m not eip_version_check --tb short --dist loadscope --ignore tests/cancun/eip4844_blobs/point_evaluation_vectors/ --collect-only -q --until Prague tests/prague/eip2537_bls_12_381_precompiles/test_bls12_pairing.py