test_full_gas_consumption()¶
Documentation for tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py::TestGasConsumption::test_full_gas_consumption@892e6d1e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py::TestGasConsumption::test_full_gas_consumption --fork Amsterdam
Test gas consumption with EIP-7623 active.
Source code in tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py
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 96 97 | |
test_full_gas_consumption(state_test, pre, tx)
¶
Test executing a transaction that fully consumes its execution gas allocation.
Source code in tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py
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 96 97 | |
Parametrized Test Cases¶
This test generates 12 parametrized test cases across 3 forks.