From f33221f2148414f5696b52b9127787bd40823b1e Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Wed, 19 Feb 2025 01:49:38 +0000 Subject: [PATCH] fix(tests): Single tests where the deployed container could not be infered --- .../eip7620_eof_create/test_subcontainer_validation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py b/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py index 7ef73b2023..3938783603 100644 --- a/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py +++ b/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py @@ -27,7 +27,8 @@ code=Op.SSTORE(slot_code_worked, value_code_worked) + Op.RETURNCONTRACT[0](0, 0), max_stack_height=2, ) -stop_sub_container = Section.Container(Container.Code(Op.STOP)) +stop_container = Container.Code(Op.STOP) +stop_sub_container = Section.Container(stop_container) return_sub_container = Section.Container(Container.Code(Op.RETURN(0, 0))) revert_sub_container = Section.Container(Container.Code(Op.REVERT(0, 0))) returncontract_sub_container = Section.Container( @@ -462,6 +463,7 @@ def test_container_both_kinds_different_sub(eof_test: EOFTestFiller): ], kind=ContainerKind.INITCODE, ), + deployed_container=stop_container, )