Skip to content

Test RETURNDATACOPY Memory Expansion

Documentation for tests/osaka/eip7692_eof_v1/eip7069_extcall/test_returndatacopy_memory_expansion.py@21fb11c8.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7069_extcall/test_returndatacopy_memory_expansion.py --fork Osaka

Memory expansion tests for RETURNDATACOPY executing in EOF code.

Test Functions Overview

Name Type Cases (Osaka) Description
test_returndatacopy_memory_expansion state_test 40 Perform RETURNDATACOPY operations that expand the memory, and verify the gas it costs.
test_returndatacopy_huge_memory_expansion state_test 28 Perform RETURNDATACOPY operations that expand the memory by huge amounts, and verify that it