test_invalid_zero_gas_pairing()¶
Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_variable_length_input_contracts.py::test_invalid_zero_gas_pairing@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/prague/eip2537_bls_12_381_precompiles/test_bls12_variable_length_input_contracts.py::test_invalid_zero_gas_pairing --fork Osaka
Test the BLS12_PAIRING precompile calling it with zero gas.
Source code in tests/prague/eip2537_bls_12_381_precompiles/test_bls12_variable_length_input_contracts.py
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 | |
Parametrized Test Cases¶
This test case is only parametrized by fork and fixture format.
| Test ID (Abbreviated) | precompile_address | expected_output | precompile_gas_list | precompile_data_length_list |
|---|---|---|---|---|
| ...fork_Prague-state_test-precompile_address_15--zero_gas_passed | 15 | [0] | [384] | |
| ...fork_Prague-blockchain_test_from_state_test-precompile_address_15--zero_gas_passed | 15 | [0] | [384] | |
| ...fork_Osaka-state_test-precompile_address_15--zero_gas_passed | 15 | [0] | [384] | |
| ...fork_Osaka-blockchain_test_from_state_test-precompile_address_15--zero_gas_passed | 15 | [0] | [384] |