Skip to content

Commit

Permalink
fix(tests): Single tests where the deployed container could not be in…
Browse files Browse the repository at this point in the history
…fered
  • Loading branch information
marioevz committed Feb 19, 2025
1 parent 24a898e commit f33221f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -462,6 +463,7 @@ def test_container_both_kinds_different_sub(eof_test: EOFTestFiller):
],
kind=ContainerKind.INITCODE,
),
deployed_container=stop_container,
)


Expand Down

0 comments on commit f33221f

Please sign in to comment.