Skip to content

Test EXCHANGE

Documentation for tests/prague/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.py@verkle@v0.0.6.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

fill -v tests/prague/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.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/eip663_dupn_swapn_exchange/test_exchange.py --until=PragueEIP7692

Tests EIP-663: SWAPN, DUPN and EXCHANGE instructions

Tests for the EXCHANGE instruction.

Test Functions Overview

Name Type Cases Description
test_exchange_all_valid_immediates eof_state_test 1 Test case for all valid EXCHANGE immediates.
test_exchange_all_invalid_immediates eof_test 6 Test case for all invalid EXCHANGE immediates.