add returnStack to Computation
This commit is contained in:
parent
6e122f1878
commit
e2cd9b20fa
|
@ -144,6 +144,7 @@ proc newComputation*(vmState: BaseVMState, message: Message, salt= 0.u256): Comp
|
|||
result.msg = message
|
||||
result.memory = Memory()
|
||||
result.stack = newStack()
|
||||
result.returnStack = newStack()
|
||||
result.gasMeter.init(message.gas)
|
||||
result.touchedAccounts = initHashSet[EthAddress]()
|
||||
result.suicides = initHashSet[EthAddress]()
|
||||
|
|
|
@ -68,6 +68,7 @@ type
|
|||
msg*: Message
|
||||
memory*: Memory
|
||||
stack*: Stack
|
||||
returnStack*: Stack
|
||||
gasMeter*: GasMeter
|
||||
code*: CodeStream
|
||||
output*: seq[byte]
|
||||
|
|
Loading…
Reference in New Issue