test_full_gas_consumption()¶
Documentation for tests/amsterdam/eip7976_increase_calldata_floor_cost/test_execution_gas.py::TestGasConsumption::test_full_gas_consumption@5c024cbb.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7976_increase_calldata_floor_cost/test_execution_gas.py::TestGasConsumption::test_full_gas_consumption --fork Amsterdam
Test gas consumption with EIP-7976 active.
Source code in tests/amsterdam/eip7976_increase_calldata_floor_cost/test_execution_gas.py
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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
test_full_gas_consumption(state_test, pre, tx)
¶
Test executing a transaction that fully consumes its execution gas allocation.
Source code in tests/amsterdam/eip7976_increase_calldata_floor_cost/test_execution_gas.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
Parametrized Test Cases¶
This test generates 12 parametrized test cases across 1 fork.