Skip to content

Commit 5d2cdb7

Browse files
committed
[WIP] Implement subroutine opcodes
1 parent 91b5a64 commit 5d2cdb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eth/vm/rstack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ def pop1_int(self, value) -> int:
6161
return big_endian_to_int(popped) # type: ignore
6262
else:
6363
raise ValidationError(
64-
"Stack must always be bytes or int, "
65-
f"got {item_type!r} type, val {value!r}"
64+
"Stack must always be bytes or int, "
65+
f"got {item_type!r} type, val {value!r}"
6666
)

tests/core/opcodes/test_opcodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ def test_jumpsub(vm_class, code, expect_gas_used):
11591159
assert comp.get_gas_used() == expect_gas_used
11601160

11611161

1162-
@pytest.mark.xfail(reason="invalid subroutines") # noqa: F811
1162+
@pytest.mark.xfail(reason="invalid subroutines") # noqa: F811
11631163
@pytest.mark.parametrize(
11641164
'vm_class, code',
11651165
(

0 commit comments

Comments
 (0)