test_invalid_zero_gas_g1msm()¶
Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_variable_length_input_contracts.py::test_invalid_zero_gas_g1msm@e9958ed2.
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_g1msm --fork Osaka
Test the BLS12_G1MSM precompile calling it with zero gas.
Source code in tests/prague/eip2537_bls_12_381_precompiles/test_bls12_variable_length_input_contracts.py
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | |
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_12--zero_gas_passed | 12 | [0] | [160] | |
| ...fork_Prague-blockchain_test_from_state_test-precompile_address_12--zero_gas_passed | 12 | [0] | [160] | |
| ...fork_Osaka-state_test-precompile_address_12--zero_gas_passed | 12 | [0] | [160] | |
| ...fork_Osaka-blockchain_test_from_state_test-precompile_address_12--zero_gas_passed | 12 | [0] | [160] |