Test Bls12 G1mul - Test Cases¶
Test cases generated from tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g1mul.py
Parametrized test cases generated from the test module tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g1mul.py
:
test_valid[fork_Prague-blockchain_test-bls_g1mul_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(1*g1=g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(1*p1=p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(0*g1=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(0*p1=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_random*g1-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_random*p1-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_random*g1_unnormalized_scalar-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_random*p1_unnormalized_scalar-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(0*inf=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(2**256-1*inf=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(2**256-1*P1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(q-1*P1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(q*P1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(q+1*P1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(2q*P1)-]
test_valid[fork_Prague-blockchain_test-bls_g1mul_(Nq*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(1*g1=g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(1*p1=p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(0*g1=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(0*p1=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_random*g1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_random*p1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_random*g1_unnormalized_scalar-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_random*p1_unnormalized_scalar-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(0*inf=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(2**256-1*inf=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(2**256-1*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(q-1*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(q*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(q+1*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(2q*P1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1mul_(Nq*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(g1+g1=2*g1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(p1+p1=2*p1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(1*g1=g1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(1*p1=p1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(0*g1=inf)-]
test_valid[fork_Prague-state_test-bls_g1mul_(0*p1=inf)-]
test_valid[fork_Prague-state_test-bls_g1mul_(x*inf=inf)-]
test_valid[fork_Prague-state_test-bls_g1mul_random*g1-]
test_valid[fork_Prague-state_test-bls_g1mul_random*p1-]
test_valid[fork_Prague-state_test-bls_g1mul_random*g1_unnormalized_scalar-]
test_valid[fork_Prague-state_test-bls_g1mul_random*p1_unnormalized_scalar-]
test_valid[fork_Prague-state_test-bls_g1mul_(0*inf=inf)-]
test_valid[fork_Prague-state_test-bls_g1mul_(2**256-1*inf=inf)-]
test_valid[fork_Prague-state_test-bls_g1mul_(2**256-1*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(q-1*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(q*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(q+1*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(2q*P1)-]
test_valid[fork_Prague-state_test-bls_g1mul_(Nq*P1)-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_empty_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_short_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_large_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test--invalid_point_1-]
test_invalid[fork_Prague-blockchain_test--invalid_point_2-]
test_invalid[fork_Prague-blockchain_test--invalid_point_3-]
test_invalid[fork_Prague-blockchain_test--invalid_point_4-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding-]
test_invalid[fork_Prague-blockchain_test--input_too_short-]
test_invalid[fork_Prague-blockchain_test--input_too_long-]
test_invalid[fork_Prague-blockchain_test--zero_length_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_not_in_subgroup_1-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_not_in_subgroup_2-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_not_in_subgroup_times_q-]
test_invalid[fork_Prague-blockchain_test--bls_g1mul_not_in_subgroup_times_q_2-]
test_invalid[fork_Prague-blockchain_test--bls_g1_add_input_invalid_length-]
test_invalid[fork_Prague-blockchain_test--bls_g2_add_input_invalid_length-]
test_invalid[fork_Prague-blockchain_test--bls_g1_truncated_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_short_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_large_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_1-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_2-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_3-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_4-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding-]
test_invalid[fork_Prague-blockchain_test_engine--input_too_short-]
test_invalid[fork_Prague-blockchain_test_engine--input_too_long-]
test_invalid[fork_Prague-blockchain_test_engine--zero_length_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_not_in_subgroup_1-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_not_in_subgroup_2-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_not_in_subgroup_times_q-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1mul_not_in_subgroup_times_q_2-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1_add_input_invalid_length-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2_add_input_invalid_length-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1_truncated_input-]
test_invalid[fork_Prague-state_test--bls_g1mul_empty_input-]
test_invalid[fork_Prague-state_test--bls_g1mul_short_input-]
test_invalid[fork_Prague-state_test--bls_g1mul_large_input-]
test_invalid[fork_Prague-state_test--bls_g1mul_invalid_field_element-]
test_invalid[fork_Prague-state_test--bls_g1mul_point_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_g1mul_violate_top_bytes-]
test_invalid[fork_Prague-state_test--bls_g1mul_g1_not_in_correct_subgroup-]
test_invalid[fork_Prague-state_test--invalid_point_1-]
test_invalid[fork_Prague-state_test--invalid_point_2-]
test_invalid[fork_Prague-state_test--invalid_point_3-]
test_invalid[fork_Prague-state_test--invalid_point_4-]
test_invalid[fork_Prague-state_test--invalid_encoding-]
test_invalid[fork_Prague-state_test--input_too_short-]
test_invalid[fork_Prague-state_test--input_too_long-]
test_invalid[fork_Prague-state_test--zero_length_input-]
test_invalid[fork_Prague-state_test--bls_g1mul_not_in_subgroup_1-]
test_invalid[fork_Prague-state_test--bls_g1mul_not_in_subgroup_2-]
test_invalid[fork_Prague-state_test--bls_g1mul_not_in_subgroup_times_q-]
test_invalid[fork_Prague-state_test--bls_g1mul_not_in_subgroup_times_q_2-]
test_invalid[fork_Prague-state_test--bls_g1_add_input_invalid_length-]
test_invalid[fork_Prague-state_test--bls_g2_add_input_invalid_length-]
test_invalid[fork_Prague-state_test--bls_g1_truncated_input-]
test_gas[fork_Prague-blockchain_test-extra_gas-]
test_gas[fork_Prague-blockchain_test-insufficient_gas-]
test_gas[fork_Prague-blockchain_test_engine-extra_gas-]
test_gas[fork_Prague-blockchain_test_engine-insufficient_gas-]
test_gas[fork_Prague-state_test-extra_gas-]
test_gas[fork_Prague-state_test-insufficient_gas-]
test_call_types[fork_Prague-blockchain_test-bls_g1mul_(0*inf=inf)-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test-bls_g1mul_(0*inf=inf)-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test-bls_g1mul_(0*inf=inf)-call_opcode_CALLCODE-]
test_call_types[fork_Prague-blockchain_test_engine-bls_g1mul_(0*inf=inf)-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test_engine-bls_g1mul_(0*inf=inf)-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test_engine-bls_g1mul_(0*inf=inf)-call_opcode_CALLCODE-]
test_call_types[fork_Prague-state_test-bls_g1mul_(0*inf=inf)-call_opcode_STATICCALL-]
test_call_types[fork_Prague-state_test-bls_g1mul_(0*inf=inf)-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-state_test-bls_g1mul_(0*inf=inf)-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_g1mul.py