Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon committed Jun 26, 2024
1 parent d4d967d commit af71891
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_simple_create_from_creation(
data=Container(
sections=[
returncontract_code_section,
Section.Container(container=Container(sections=[Section.Code(code=Op.STOP)])),
stop_sub_container,
],
),
container_post=Account(storage={slot_code_worked: value_code_worked}),
Expand Down Expand Up @@ -117,7 +117,6 @@ def test_orphan_container(
):
"""Test orphaned containers"""
eof_test(
deploy_tx=code_section == returncontract_code_section,
data=Container(
sections=[
code_section,
Expand Down Expand Up @@ -214,11 +213,9 @@ def test_container_both_kinds_same_sub(eof_test: EOFTestFiller):
sections=[
Section.Code(
code=Op.EOFCREATE[0](0, 0, 0, 0) + Op.JUMPF[1],
max_stack_height=4,
),
Section.Code(
code=Op.RETURNCONTRACT[0](0, 0),
max_stack_height=2,
),
revert_sub_container,
],
Expand All @@ -234,11 +231,9 @@ def test_container_both_kinds_different_sub(eof_test: EOFTestFiller):
sections=[
Section.Code(
code=Op.EOFCREATE[0](0, 0, 0, 0) + Op.JUMPF[1],
max_stack_height=4,
),
Section.Code(
code=Op.RETURNCONTRACT[1](0, 0),
max_stack_height=2,
),
returncontract_sub_container,
stop_sub_container,
Expand Down

0 comments on commit af71891

Please sign in to comment.