Skip to content

Test DATACOPY Memory Expansion

Documentation for tests/prague/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py@a86d4327.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

fill -v tests/prague/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py --fork=PragueEIP7692 --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Pragueeip7692:

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

Memory expansion tests for DATACOPY

Test Functions Overview

Name Type Cases Description
test_datacopy_memory_expansion state_test 320 Perform DATACOPY operations that expand the memory, and verify the gas it costs to do so.
test_datacopy_huge_memory_expansion state_test 96 Perform DATACOPY operations that expand the memory by huge amounts, and verify that it