test_below_amsterdam_floor_with_exact_balance_sender()¶
Documentation for tests/amsterdam/eip7976_increase_calldata_floor_cost/test_floor_boundary_exact_balance.py::test_below_amsterdam_floor_with_exact_balance_sender@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7976_increase_calldata_floor_cost/test_floor_boundary_exact_balance.py::test_below_amsterdam_floor_with_exact_balance_sender --fork Amsterdam
Reject when gas_limit sits between Prague and Amsterdam floor.
EIP-7976 raises the per-byte calldata floor cost. A transaction
with gas_limit in [Prague_floor, Amsterdam_floor) must reject
with INTRINSIC_GAS_BELOW_FLOOR_GAS_COST. The sender is funded
with exactly gas_limit * gas_price so an implementation that
uses the Prague floor cannot fall back to silent execution.
Type-0 only on purpose; broader type-½/¾ coverage lives in
test_transaction_validity.py.
Source code in tests/amsterdam/eip7976_increase_calldata_floor_cost/test_floor_boundary_exact_balance.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.