Test Bls12 G2add - Test Cases¶
Test cases generated from tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2add.py
Parametrized test cases generated from the test module tests/prague/eip2537_bls_12_381_precompiles/test_bls12_g2add.py
:
test_valid[fork_Prague-blockchain_test-bls_g2add_g2+p2-]
test_valid[fork_Prague-blockchain_test-bls_g2add_p2+g2-]
test_valid[fork_Prague-blockchain_test-bls_g2add_g2_wrong_order+g2-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(g2+0=g2)-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(p2+0=p2)-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(g2-g2=0)-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(p2-p2=0)-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(g2+g2=2*g2)-]
test_valid[fork_Prague-blockchain_test-bls_g2add_(p2+p2=2*p2)-]
test_valid[fork_Prague-blockchain_test-not_in_subgroup-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_g2+p2-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_p2+g2-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_g2_wrong_order+g2-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(g2+0=g2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(p2+0=p2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(g2-g2=0)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(p2-p2=0)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(g2+g2=2*g2)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g2add_(p2+p2=2*p2)-]
test_valid[fork_Prague-blockchain_test_engine-not_in_subgroup-]
test_valid[fork_Prague-state_test-bls_g2add_g2+p2-]
test_valid[fork_Prague-state_test-bls_g2add_p2+g2-]
test_valid[fork_Prague-state_test-bls_g2add_g2_wrong_order+g2-]
test_valid[fork_Prague-state_test-bls_g2add_(g2+0=g2)-]
test_valid[fork_Prague-state_test-bls_g2add_(p2+0=p2)-]
test_valid[fork_Prague-state_test-bls_g2add_(g2-g2=0)-]
test_valid[fork_Prague-state_test-bls_g2add_(p2-p2=0)-]
test_valid[fork_Prague-state_test-bls_g2add_(g2+g2=2*g2)-]
test_valid[fork_Prague-state_test-bls_g2add_(p2+p2=2*p2)-]
test_valid[fork_Prague-state_test-not_in_subgroup-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_empty_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_short_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_long_input-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test--bls_g2add_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_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--a_x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--a_y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--a_y_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_x_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test--b_y_2_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--g1_points-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_short_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_long_input-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine--bls_g2add_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_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--a_x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--a_y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--a_y_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_x_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_x_2_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_y_1_equal_to_p-]
test_invalid[fork_Prague-blockchain_test_engine--b_y_2_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--g1_points-]
test_invalid[fork_Prague-state_test--bls_g2add_empty_input-]
test_invalid[fork_Prague-state_test--bls_g2add_short_input-]
test_invalid[fork_Prague-state_test--bls_g2add_long_input-]
test_invalid[fork_Prague-state_test--bls_g2add_point_not_on_curve-]
test_invalid[fork_Prague-state_test--bls_g2add_invalid_field_element-]
test_invalid[fork_Prague-state_test--bls_g2add_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_1_equal_to_p-]
test_invalid[fork_Prague-state_test--a_x_2_equal_to_p-]
test_invalid[fork_Prague-state_test--a_y_1_equal_to_p-]
test_invalid[fork_Prague-state_test--a_y_2_equal_to_p-]
test_invalid[fork_Prague-state_test--b_x_1_equal_to_p-]
test_invalid[fork_Prague-state_test--b_x_2_equal_to_p-]
test_invalid[fork_Prague-state_test--b_y_1_equal_to_p-]
test_invalid[fork_Prague-state_test--b_y_2_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--g1_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_g2add.py