Skip to content

Test Calldata

Documentation for tests/prague/eip7692_eof_v1/eip7069_extcall/test_calldata.py@a86d4327.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

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

Tests EIP-7069: Revamped CALL instructions

Tests for the RETURNDATALOAD instriction

Test Functions Overview

Name Type Cases Description
test_extcalls_inputdata state_test 256 Tests call data into EXT*CALL including multiple offset conditions.
test_extdelegatecall_inputdata state_test 128 Tests call data into EXT*CALL including multiple offset conditions.
test_extstaticcall_inputdata state_test 128 Tests call data into EXT*CALL including multiple offset conditions.
test_calldata_remains_after_subcall state_test 14 Tests call data remains after a call to another contract.