Skip to content

Test Bls12 G1add - Test Cases

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

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

test_valid[fork_Prague-blockchain_test-bls_g1add_g1+p1-]
test_valid[fork_Prague-blockchain_test-bls_g1add_p1+g1-]
test_valid[fork_Prague-blockchain_test-bls_g1add_g1_wrong_order+g1-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(g1+0=g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(p1+0=p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(g1-g1=0)-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(p1-p1=0)-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1add_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test-inf_plus_inf-]
test_valid[fork_Prague-blockchain_test-not_in_subgroup_1-]
test_valid[fork_Prague-blockchain_test-not_in_subgroup_2-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_g1+p1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_p1+g1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_g1_wrong_order+g1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(g1+0=g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(p1+0=p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(g1-g1=0)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(p1-p1=0)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1add_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test_engine-inf_plus_inf-]
test_valid[fork_Prague-blockchain_test_engine-not_in_subgroup_1-]
test_valid[fork_Prague-blockchain_test_engine-not_in_subgroup_2-]
test_valid[fork_Prague-state_test-bls_g1add_g1+p1-]
test_valid[fork_Prague-state_test-bls_g1add_p1+g1-]
test_valid[fork_Prague-state_test-bls_g1add_g1_wrong_order+g1-]
test_valid[fork_Prague-state_test-bls_g1add_(g1+0=g1)-]
test_valid[fork_Prague-state_test-bls_g1add_(p1+0=p1)-]
test_valid[fork_Prague-state_test-bls_g1add_(g1-g1=0)-]
test_valid[fork_Prague-state_test-bls_g1add_(p1-p1=0)-]
test_valid[fork_Prague-state_test-bls_g1add_(g1+g1=2*g1)-]
test_valid[fork_Prague-state_test-bls_g1add_(p1+p1=2*p1)-]
test_valid[fork_Prague-state_test-inf_plus_inf-]
test_valid[fork_Prague-state_test-not_in_subgroup_1-]
test_valid[fork_Prague-state_test-not_in_subgroup_2-]
test_invalid[fork_Prague-blockchain_test--bls_g1add_empty_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1add_short_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1add_large_input-]
test_invalid[fork_Prague-blockchain_test--bls_g1add_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test--bls_g1add_violate_top_bytes-]
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--invalid_point_a_5-]
test_invalid[fork_Prague-blockchain_test--invalid_point_b_1-]
test_invalid[fork_Prague-blockchain_test--invalid_point_b_2-]
test_invalid[fork_Prague-blockchain_test--invalid_point_b_3-]
test_invalid[fork_Prague-blockchain_test--invalid_point_b_4-]
test_invalid[fork_Prague-blockchain_test--invalid_point_b_5-]
test_invalid[fork_Prague-blockchain_test--a_x_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_x_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--a_y_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_y_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding_a-]
test_invalid[fork_Prague-blockchain_test--invalid_encoding_b-]
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--only_one_point-]
test_invalid[fork_Prague-blockchain_test--g2_points-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1add_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1add_short_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1add_large_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1add_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g1add_violate_top_bytes-]
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--invalid_point_a_5-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_b_1-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_b_2-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_b_3-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_b_4-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_point_b_5-]
test_invalid[fork_Prague-blockchain_test_engine--a_x_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_x_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--a_y_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_y_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding_a-]
test_invalid[fork_Prague-blockchain_test_engine--invalid_encoding_b-]
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--only_one_point-]
test_invalid[fork_Prague-blockchain_test_engine--g2_points-]
test_invalid[fork_Prague-state_test--bls_g1add_empty_input-]
test_invalid[fork_Prague-state_test--bls_g1add_short_input-]
test_invalid[fork_Prague-state_test--bls_g1add_large_input-]
test_invalid[fork_Prague-state_test--bls_g1add_point_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-state_test--bls_g1add_violate_top_bytes-]
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--invalid_point_a_5-]
test_invalid[fork_Prague-state_test--invalid_point_b_1-]
test_invalid[fork_Prague-state_test--invalid_point_b_2-]
test_invalid[fork_Prague-state_test--invalid_point_b_3-]
test_invalid[fork_Prague-state_test--invalid_point_b_4-]
test_invalid[fork_Prague-state_test--invalid_point_b_5-]
test_invalid[fork_Prague-state_test--a_x_equal_to_p-]
test_invalid[fork_Prague-state_test--b_x_equal_to_p-]
test_invalid[fork_Prague-state_test--a_y_equal_to_p-]
test_invalid[fork_Prague-state_test--b_y_equal_to_p-]
test_invalid[fork_Prague-state_test--invalid_encoding_a-]
test_invalid[fork_Prague-state_test--invalid_encoding_b-]
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--only_one_point-]
test_invalid[fork_Prague-state_test--g2_points-]
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-inf_plus_inf-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test-inf_plus_inf-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test-inf_plus_inf-call_opcode_CALLCODE-]
test_call_types[fork_Prague-blockchain_test_engine-inf_plus_inf-call_opcode_STATICCALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_plus_inf-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-blockchain_test_engine-inf_plus_inf-call_opcode_CALLCODE-]
test_call_types[fork_Prague-state_test-inf_plus_inf-call_opcode_STATICCALL-]
test_call_types[fork_Prague-state_test-inf_plus_inf-call_opcode_DELEGATECALL-]
test_call_types[fork_Prague-state_test-inf_plus_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_g1add.py