Skip to content

Test MCOPY Contexts

Documentation for tests/cancun/eip5656_mcopy/[email protected].

Generate fixtures for these test cases for Osaka with:

fill -v tests/cancun/eip5656_mcopy/test_mcopy_contexts.py --fork Osaka

Test memory copy under different call contexts.

Tests for EIP-5656: MCOPY - Memory copying instruction.

Test Functions Overview

Name Type Cases (Osaka) Description
test_no_memory_corruption_on_upper_call_stack_levels state_test 4 Perform a subcall with any of the following opcodes, which uses MCOPY
test_no_memory_corruption_on_upper_create_stack_levels state_test 2 Perform a subcall with any of the following opcodes, which uses MCOPY