Skip to content

Test Calls

Documentation for tests/osaka/eip7692_eof_v1/eip7069_extcall/test_calls.py@5e6a38e0.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7069_extcall/test_calls.py --fork Osaka

test calls across EOF and Legacy.

Test Functions Overview

Name Type Cases (Osaka) Description
test_legacy_calls_eof_sstore state_test 4 Test legacy contracts calling EOF contracts that use SSTORE.
test_legacy_calls_eof_mstore state_test 4 Test legacy contracts calling EOF contracts that only return data.
test_eof_calls_eof_sstore state_test 3 Test EOF contracts calling EOF contracts that use SSTORE.
test_eof_calls_eof_mstore state_test 3 Test EOF contracts calling EOF contracts that return data.
test_eof_calls_precompile state_test 9 Test EOF contracts calling precompiles.
test_eof_calls_legacy_sstore state_test 3 Test EOF contracts calling Legacy contracts that use SSTORE.
test_eof_calls_legacy_mstore state_test 3 Test EOF contracts calling Legacy contracts that return data.
test_callee_fails state_test 21 Test EOF contracts calling contracts that fail for various reasons.
test_callee_context state_test 24 Test EOF calls' callee context instructions.
test_eof_calls_eof_then_fails state_test 4 Test EOF contracts calling EOF contracts and failing after the call.
test_eof_calls_clear_return_buffer state_test 36 Test EOF contracts calling clears returndata buffer.
test_eof_calls_static_flag_with_value state_test 2 Test EOF contracts calls handle static flag and sending value correctly.
test_eof_calls_min_callee_gas state_test 16 Test EOF contracts calls do light failure when retained/callee gas is not enough.
test_eof_calls_with_value state_test 16 Test EOF contracts calls handle value calls with and without enough balance.
test_eof_calls_msg_depth state_test 3 Test EOF contracts calls handle msg depth limit correctly (1024).