test_modexp_variable_gas_cost_exceed_tx_gas_cap()¶
Documentation for tests/osaka/eip7883_modexp_gas_increase/test_modexp_thresholds.py::test_modexp_variable_gas_cost_exceed_tx_gas_cap@343274cc.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/osaka/eip7883_modexp_gas_increase/test_modexp_thresholds.py::test_modexp_variable_gas_cost_exceed_tx_gas_cap --fork Amsterdam
Test ModExp variable gas cost. Inputs with an expected gas cost over the EIP-7825 tx gas cap.
Test case coverage table (gas cap): ┌─────┬──────┬─────┬──────┬───────┬─────────┬───────────────────────────────────────────────┐ │ ID │ Comp │ Rel │ Iter │ Clamp │ Gas │ Description │ ├─────┼──────┼─────┼──────┼───────┼─────────┼───────────────────────────────────────────────┤ │ Z16 │ L │ < │ C │ False │520060928│ Zero base, zero exp, large modulus (gas cap) | └─────┴──────┴─────┴──────┴───────┴─────────┴───────────────────────────────────────────────┘
Source code in tests/osaka/eip7883_modexp_gas_increase/test_modexp_thresholds.py
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 8 forks.