Skip to content

Test MCOPY Contexts

Documentation for tests/cancun/eip5656_mcopy/test_mcopy_contexts.py@verkle@v0.0.4.

Generate fixtures for these test cases for Cancun with:

Cancun only:

fill -v tests/cancun/eip5656_mcopy/test_mcopy_contexts.py --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Cancun:

fill -v tests/cancun/eip5656_mcopy/test_mcopy_contexts.py --until=Cancun

Test Functions Overview

Name Type Cases Description
test_no_memory_corruption_on_upper_call_stack_levels state_test 14 Perform a subcall with any of the following opcodes, which uses MCOPY during its execution,
test_no_memory_corruption_on_upper_create_stack_levels state_test 4 Perform a subcall with any of the following opcodes, which uses MCOPY during its execution,