Skip to content

Test Bls12 G1msm - Test Cases

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

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

test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(1*g1=g1)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(1*p1=p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(0*g1=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(0*p1=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(2g1+inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_(2g1+2p1)-]
test_valid[fork_Prague-blockchain_test-bls_g1multiexp_multiple-]
test_valid[fork_Prague-blockchain_test-max_discount-]
test_valid[fork_Prague-blockchain_test-max_discount_plus_1-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(g1+g1=2*g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(p1+p1=2*p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(1*g1=g1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(1*p1=p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(0*g1=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(0*p1=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(x*inf=inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(2g1+inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_(2g1+2p1)-]
test_valid[fork_Prague-blockchain_test_engine-bls_g1multiexp_multiple-]
test_valid[fork_Prague-blockchain_test_engine-max_discount-]
test_valid[fork_Prague-blockchain_test_engine-max_discount_plus_1-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(g1+g1=2*g1)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(p1+p1=2*p1)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(1*g1=g1)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(1*p1=p1)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(0*g1=inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(0*p1=inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(x*inf=inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(2g1+inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(inf+inf)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_(2g1+2p1)-]
test_valid[fork_Prague-state_test-bls_g1multiexp_multiple-]
test_valid[fork_Prague-state_test-max_discount-]
test_valid[fork_Prague-state_test-max_discount_plus_1-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_empty_input-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_short_input-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_long_input-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test---bls_g1multiexp_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_encoding0-]
test_invalid[fork_Prague-blockchain_test---invalid_encoding1-]
test_invalid[fork_Prague-blockchain_test---not_in_subgroup_1-]
test_invalid[fork_Prague-blockchain_test---not_in_subgroup_2-]
test_invalid[fork_Prague-blockchain_test---bls_g1_truncated_input-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_empty_input-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_short_input-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_long_input-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_invalid_field_element-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_violate_top_bytes-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_point_not_on_curve-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1multiexp_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_encoding0-]
test_invalid[fork_Prague-blockchain_test_engine---invalid_encoding1-]
test_invalid[fork_Prague-blockchain_test_engine---not_in_subgroup_1-]
test_invalid[fork_Prague-blockchain_test_engine---not_in_subgroup_2-]
test_invalid[fork_Prague-blockchain_test_engine---bls_g1_truncated_input-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_empty_input-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_short_input-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_long_input-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_invalid_field_element-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_violate_top_bytes-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_point_not_on_curve-]
test_invalid[fork_Prague-state_test---bls_g1multiexp_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_encoding0-]
test_invalid[fork_Prague-state_test---invalid_encoding1-]
test_invalid[fork_Prague-state_test---not_in_subgroup_1-]
test_invalid[fork_Prague-state_test---not_in_subgroup_2-]
test_invalid[fork_Prague-state_test---bls_g1_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_g1msm.py