mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-14 06:15:57 +00:00
remove redundant updateOpcodeExec
This commit is contained in:
parent
1b3ca200fa
commit
f1fac6be0f
@ -252,10 +252,6 @@ proc updateOpcodeExec*(computation: var BaseComputation, fork: Fork) =
|
|||||||
else:
|
else:
|
||||||
raise newException(VMError, "Unknown or not implemented fork: " & $fork)
|
raise newException(VMError, "Unknown or not implemented fork: " & $fork)
|
||||||
|
|
||||||
proc updateOpcodeExec*(computation: var BaseComputation) =
|
|
||||||
let fork = computation.getFork
|
|
||||||
computation.updateOpcodeExec(fork)
|
|
||||||
|
|
||||||
proc executeOpcodes*(computation: var BaseComputation) =
|
proc executeOpcodes*(computation: var BaseComputation) =
|
||||||
# TODO: Optimise getting fork and updating opCodeExec only when necessary
|
# TODO: Optimise getting fork and updating opCodeExec only when necessary
|
||||||
let fork = computation.getFork
|
let fork = computation.getFork
|
||||||
|
Loading…
x
Reference in New Issue
Block a user