test_bal_2935_selfdestruct_to_history_storage()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py::test_bal_2935_selfdestruct_to_history_storage@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py::test_bal_2935_selfdestruct_to_history_storage --fork Amsterdam
Ensure BAL captures SELFDESTRUCT to history storage address alongside system call storage writes.
Single block with pre-execution system call writing parent hash to storage, followed by transaction where contract selfdestructs sending funds to HISTORY_STORAGE_ADDRESS. Tests that same address can appear in BAL with different change types (storage_changes and balance_changes) at different transaction indices.
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py
277 278 279 280 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 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.