test_repeated_address_acl()¶
Documentation for tests/berlin/eip2930_access_list/test_acl.py::test_repeated_address_acl@9c2813ee.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/berlin/eip2930_access_list/test_acl.py::test_repeated_address_acl --fork Amsterdam
Tests that slots are warmed correctly in an access list that has the same address repeated more than once, each time with different slots.
Difference with other ACL tests is that we actually try to access both slots at runtime. We also measure the gas cost of each access in order to make debugging easier.
Source code in tests/berlin/eip2930_access_list/test_acl.py
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 8 forks.