test_account_warm_status_reverted_by_subcall()¶
Documentation for tests/berlin/eip2929_gas_cost_increases/test_warm_status_revert.py::test_account_warm_status_reverted_by_subcall@9c2813ee.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/berlin/eip2929_gas_cost_increases/test_warm_status_revert.py::test_account_warm_status_reverted_by_subcall --fork Amsterdam
Test that account warm status is reverted when a sub-call reverts.
Inner call does BALANCE(target) then REVERTs. After revert, BALANCE(target) in the outer call must be a cold access.
Source code in tests/berlin/eip2929_gas_cost_increases/test_warm_status_revert.py
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 138 139 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 8 forks.