Skip to content

Commit 4e340ae

Browse files
committed
[WIP] Implement subroutine opcodes
1 parent 88a11c0 commit 4e340ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eth/vm/computation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def rstack_push_int(self) -> Callable[[int], None]:
333333
return self._rstack.push_int
334334

335335
@cached_property
336-
def rstack_pop1_int(self) -> Callable[[int], None]:
336+
def rstack_pop1_int(self) -> Callable[[], int]:
337337
return self._rstack.pop1_int
338338

339339
#

eth/vm/rstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self) -> None:
3939
self._pop_typed = values.pop
4040
self.__len__ = values.__len__
4141

42-
def push_int(self, value) -> None:
42+
def push_int(self, value: int) -> None:
4343
if len(self.values) > 1023:
4444
raise FullStack('Stack limit reached')
4545

0 commit comments

Comments
 (0)