Skip to content

Commit 477da7f

Browse files
committed
new(tests): EOF - EXT*CALL backfill test cases
1 parent bff98b1 commit 477da7f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/osaka/eip7692_eof_v1/eip7069_extcall/test_calls.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ def test_eof_calls_eof_then_fails(
729729
"EOFContract",
730730
"LegacyContractInvalid",
731731
"EOFContractInvalid",
732+
"LegacyContractRevert",
733+
"EOFContractRevert",
734+
"identity_precompile",
732735
),
733736
ids=lambda x: x,
734737
)
@@ -769,6 +772,16 @@ def test_eof_calls_clear_return_buffer(
769772
target_address = pre.deploy_contract(
770773
code=Container.Code(Op.INVALID),
771774
)
775+
case "LegacyContractRevert":
776+
target_address = pre.deploy_contract(
777+
code=Op.REVERT(0, 0),
778+
)
779+
case "EOFContractRevert":
780+
target_address = pre.deploy_contract(
781+
code=Container.Code(Op.REVERT(0, 0)),
782+
)
783+
case "identity_precompile":
784+
target_address = identity
772785

773786
caller_contract = Container.Code(
774787
# First fill the return buffer and sanity check

0 commit comments

Comments
 (0)