Skip to content

Commit

Permalink
[WIP] Implement subroutine opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peppece committed Oct 25, 2020
1 parent 1e2a180 commit 6eb5737
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eth/vm/rstack.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import (
List,
Tuple,
Union,
)

from eth.exceptions import (
Expand Down Expand Up @@ -33,7 +35,7 @@ class RStack:
__slots__ = ['values', '_append', '_pop_typed', '__len__']

def __init__(self) -> None:
values: List[int] = []
values: List[Tuple[type, Union[int, bytes]]] = []
self.values = values
self._append = values.append
self._pop_typed = values.pop
Expand Down

0 comments on commit 6eb5737

Please sign in to comment.