Skip to content

Test EXCHANGE

Documentation for tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.py@206854b5.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.py --fork Osaka
Tests EIP-663: SWAPN, DUPN and EXCHANGE instructions

Tests for the EXCHANGE instruction.

Test Functions Overview

Name Type Cases (Osaka) Description
test_exchange_all_valid_immediates eof_state_test 0 Test case for all valid EXCHANGE immediates.
test_exchange_all_invalid_immediates eof_test 6 Test case for all invalid EXCHANGE immediates.