Skip to content

Test RETURNDATALOAD

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

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7069_extcall/test_returndataload.py --fork Osaka
Tests EIP-7069: Revamped CALL instructions

Tests for the RETURNDATALOAD instruction.

Test Functions Overview

Name Type Cases (Osaka) Description
test_returndatacopy_handling state_test 448 Tests ReturnDataLoad including multiple offset conditions and differing legacy vs. eof
test_returndataload_handling state_test 48 Much simpler than returndatacopy, no memory or boosted call. Returner is called
test_returndatacopy_oob state_test 2 Extends the RETURNDATACOPY test for correct out-of-bounds behavior, by checking if the