test_valid_mcopy_operations()¶
Documentation for tests/cancun/eip5656_mcopy/test_mcopy.py::test_valid_mcopy_operations@7b8124a7.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip5656_mcopy/test_mcopy.py::test_valid_mcopy_operations --fork Osaka
Perform MCOPY operations using different offsets and lengths.
- Zero inputs
- Memory rewrites (copy from and to the same location)
- Memory overwrites (copy from and to different locations)
- Memory extensions (copy to a location that is out of bounds)
- Memory clear (copy from a location that is out of bounds).
Source code in tests/cancun/eip5656_mcopy/test_mcopy.py
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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |
Parametrized Test Cases¶
This test generates 21 parametrized test cases across 3 forks.