Skip to content

Test CALLF Execution

Documentation for tests/osaka/eip7692_eof_v1/eip4750_functions/test_callf_execution.py@0ed27a0e.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip4750_functions/test_callf_execution.py --fork Osaka

EOF CALLF execution tests

Test Functions Overview

Name Type Cases (Osaka) Description
test_callf_stack_size_1024 eof_state_test 0 Test stack reaching 1024 items in called function
test_callf_with_inputs_stack_size_1024 eof_state_test 0 Test stack reaching 1024 items in called function with inputs
test_callf_stack_size_1024_at_callf eof_state_test 0 Test stack reaching 1024 items in called function at CALLF instruction
test_callf_stack_size_1024_at_push eof_state_test 0 Test stack reaching 1024 items in nested called function at PUSH0 instruction
test_callf_stack_overflow eof_state_test 0 Test stack overflowing 1024 items in called function
test_callf_with_inputs_stack_size_1024_at_push eof_state_test 0 Test stack reaching 1024 items in nested called function with inputs at PUSH0 instruction
test_callf_with_inputs_stack_overflow eof_state_test 0 Test stack overflowing 1024 items in called function with inputs
test_callf_sneaky_stack_overflow state_test 2 CALLF where a normal execution would not overflow, but EIP-4750 CALLF rule #3 triggers.
test_callf_max_stack state_test 3 CALLF where a normal execution would not overflow, but EIP-4750 CALLF rule #4 triggers.