test_sstore_combinations_initial()¶
Documentation for tests/istanbul/eip2200_net_gas_metering/test_sstore_combinations.py::test_sstore_combinations_initial@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/istanbul/eip2200_net_gas_metering/test_sstore_combinations.py::test_sstore_combinations_initial --fork Amsterdam
Test SSTORE with four interleaved calls.
Exercises every combination of call types across four call slots,
varying the update-contract's initial storage state (0, 1, or 2).
Valid from Byzantium (REVERT and STATICCALL availability) so the
pre-EIP-2200 storage gas rules are covered as a baseline.
Consolidated replacement for the twelve legacy
sstore_combinations_initial*_ParisFiller.json fillers from
state_tests/stTimeConsuming/.
Source code in tests/istanbul/eip2200_net_gas_metering/test_sstore_combinations.py
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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | |
Parametrized Test Cases¶
This test generates 768 parametrized test cases across 12 forks.