Skip to content

Test DATACOPY Memory Expansion

Documentation for tests/prague/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py@091c1aa1.

Generate fixtures for these test cases for PragueEIP7692 with:

fill -v tests/prague/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py --fork PragueEIP7692

Memory expansion tests for DATACOPY

Test Functions Overview

Name Type Cases (PragueEIP7692) Description
test_datacopy_memory_expansion state_test 160 Perform DATACOPY operations that expand the memory, and verify the gas it costs to do so.
test_datacopy_huge_memory_expansion state_test 48 Perform DATACOPY operations that expand the memory by huge amounts, and verify that it