mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
Add opcode executor proc to computation
This commit is contained in:
parent
7cd7a73a1f
commit
af76d209a6
@ -226,7 +226,9 @@ proc executeOpcodes*(computation: var BaseComputation) =
|
||||
let fork = computation.vmState.blockHeader.blockNumber.toFork
|
||||
try:
|
||||
case fork
|
||||
of FkFrontier: computation.frontierVM()
|
||||
of FkFrontier:
|
||||
computation.opCodeExec = frontierVM
|
||||
computation.frontierVM()
|
||||
else:
|
||||
raise newException(ValueError, "not implemented fork: " & $fork)
|
||||
except VMError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user