test_access_list_no_fallback()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py::test_access_list_no_fallback@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py::test_access_list_no_fallback --fork Amsterdam
Reject an access-list transaction whose gas_limit is one gas
below the Amsterdam intrinsic.
EIP-8038 raises TX_ACCESS_LIST_ADDRESS and
TX_ACCESS_LIST_STORAGE_KEY. A client reusing the
old per-address/per-key constants would compute an intrinsic smaller
by num_addresses * addr_delta + num_keys * key_delta; with the
sender funded to the wei, that fallback must not slip through.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py
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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.