Skip to content

Test Bls12 G2msm - Test Cases

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

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

test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(g2+g2=2*g2)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(p2+p2=2*p2)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(1*g2=g2)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(1*p2=p2)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(0*g2=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(0*p2=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(2g2+inf)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(2p2+inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_(2g2+2p2)-]
test_valid[fork_Prague-blockchain_test-bls_g2multiexp_multiple-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(g2+g2=2*g2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(p2+p2=2*p2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(1*g2=g2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(1*p2=p2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(0*g2=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(0*p2=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(2g2+inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(2p2+inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_(2g2+2p2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2multiexp_multiple-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(g2+g2=2*g2)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(p2+p2=2*p2)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(1*g2=g2)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(1*p2=p2)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(0*g2=inf)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(0*p2=inf)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(x*inf=inf)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(2g2+inf)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(2p2+inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_(2g2+2p2)-]
test_valid[fork_Prague-state_test-bls_g2multiexp_multiple-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_empty_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_short_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_long_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test--bls_g2multiexp_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test--invalid_point_a_1-]
test_invalid[fork_Prague-blockchain_test--invalid_point_a_2-]
test_invalid[fork_Prague-blockchain_test--invalid_point_a_3-]
test_invalid[fork_Prague-blockchain_test--invalid_point_a_4-]
test_invalid[fork_Prague-blockchain_test--x_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--y_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding-]
test_invalid[fork_Prague-blockchain_test--bls_g2mul_not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test--bls_g2_truncated_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_short_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_long_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2multiexp_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_a_1-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_a_2-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_a_3-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_a_4-]
test_invalid[fork_Prague-blockchain_test_engine--x_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--y_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2mul_not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2_truncated_input-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_empty_input-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_short_input-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_long_input-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_violate_top_bytes-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_invalid_field_element-]
test_invalid[fork_Prague-state_test--bls_g2multiexp_point_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_pairing_g2_not_in_correct_subgroup-]
test_invalid[fork_Prague-state_test--invalid_point_a_1-]
test_invalid[fork_Prague-state_test--invalid_point_a_2-]
test_invalid[fork_Prague-state_test--invalid_point_a_3-]
test_invalid[fork_Prague-state_test--invalid_point_a_4-]
test_invalid[fork_Prague-state_test--x_1_equal_to_p-]
test_invalid[fork_Prague-state_test--x_2_equal_to_p-]
test_invalid[fork_Prague-state_test--y_1_equal_to_p-]
test_invalid[fork_Prague-state_test--y_2_equal_to_p-]
test_invalid[fork_Prague-state_test--invalid_encoding-]
test_invalid[fork_Prague-state_test--bls_g2mul_not_in_subgroup-]
test_invalid[fork_Prague-state_test--bls_g2_truncated_input-]
test_call_types[fork_Prague-blockchain_test-inf_times_zero-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test-inf_times_zero-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test-inf_times_zero-call_opcode_CALLCODE-]
test_call_types[fork_Prague-blockchain_test_engine-inf_times_zero-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_times_zero-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_times_zero-call_opcode_CALLCODE-]
test_call_types[fork_Prague-state_test-inf_times_zero-call_opcode_STATICCALL-]
test_call_types[fork_Prague-state_test-inf_times_zero-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-state_test-inf_times_zero-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_g2msm.py