Skip to content

Test Calls

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

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

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

test calls across EOF and Legacy

Test Functions Overview

Name Type Cases Description
test_legacy_calls_eof_sstore state_test 8 Test legacy contracts calling EOF contracts that use SSTORE
test_legacy_calls_eof_mstore state_test 8 Test legacy contracts calling EOF contracts that only return data
test_eof_calls_eof_sstore state_test 6 Test EOF contracts calling EOF contracts that use SSTORE
test_eof_calls_eof_mstore state_test 6 Test EOF contracts calling EOF contracts that return data
test_eof_calls_legacy_sstore state_test 6 Test EOF contracts calling Legacy contracts that use SSTORE
test_eof_calls_legacy_mstore state_test 6 Test EOF contracts calling Legacy contracts that return data
test_eof_calls_revert_abort state_test 24 Test EOF contracts calling contracts that revert or abort
test_eof_calls_eof_then_fails state_test 8 Test EOF contracts calling EOF contracts and failing after the call
test_eof_calls_clear_return_buffer state_test 72 Test EOF contracts calling clears returndata buffer
test_eof_calls_static_flag_with_value state_test 4 Test EOF contracts calls handle static flag and sending value correctly
test_eof_calls_min_callee_gas state_test 32 Test EOF contracts calls do light failure when retained/callee gas is not enough.
test_eof_calls_with_value state_test 32 Test EOF contracts calls handle value calls with and without enough balance
test_eof_calls_msg_depth state_test 6 Test EOF contracts calls handle msg depth limit correctly (1024).