Copy opCodeExec to child computation
This commit is contained in:
parent
4a944398c9
commit
d435e434ec
|
@ -168,6 +168,10 @@ proc generateChildComputation*(fork: Fork, computation: BaseComputation, childMs
|
||||||
computation.vmState,
|
computation.vmState,
|
||||||
computation.vmState.blockHeader.blockNumber,
|
computation.vmState.blockHeader.blockNumber,
|
||||||
childMsg)
|
childMsg)
|
||||||
|
|
||||||
|
# Copy the fork op code executor proc (assumes child computation is in the same fork)
|
||||||
|
childComp.opCodeExec = computation.opCodeExec
|
||||||
|
|
||||||
if childMsg.isCreate:
|
if childMsg.isCreate:
|
||||||
fork.applyCreateMessage(childComp)
|
fork.applyCreateMessage(childComp)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue