We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7deca commit 89f3fbfCopy full SHA for 89f3fbf
eth/vm/computation.py
@@ -71,6 +71,9 @@
71
from eth.vm.stack import (
72
Stack,
73
)
74
+from eth.vm.rstack import (
75
+ RStack,
76
+)
77
78
79
def NO_RESULT(computation: ComputationAPI) -> None:
@@ -140,6 +143,7 @@ def __init__(self,
140
143
141
144
self._memory = Memory()
142
145
self._stack = Stack()
146
+ self._rstack = RStack()
147
self._gas_meter = self.get_gas_meter()
148
149
self.children = []
eth/vm/logic/flow.py
@@ -79,10 +79,6 @@ def jumpsub(computation: BaseComputation) -> None:
80
else:
81
computation.code.program_counter += 1
82
-
83
- if computation.rstack.length >= 1023:
84
- #TODO: abort execution
85
- pass
86
87
computation.rstack_push_int(temp + 1)
88
0 commit comments