fix missing import when chronicles enabled
This commit is contained in:
parent
207065746c
commit
04dcec03a3
|
@ -162,6 +162,7 @@ proc process*(nimbus: NimbusNode) =
|
||||||
poll()
|
poll()
|
||||||
except CatchableError as e:
|
except CatchableError as e:
|
||||||
debug "Exception in poll()", exc = e.name, err = e.msg
|
debug "Exception in poll()", exc = e.name, err = e.msg
|
||||||
|
discard e # silence warning when chronicles not activated
|
||||||
|
|
||||||
# Stop loop
|
# Stop loop
|
||||||
waitFor nimbus.stop()
|
waitFor nimbus.stop()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import ../db/db_chain, eth/common, chronicles, ../vm_state, ../vm_types,
|
import ../db/db_chain, eth/common, chronicles, ../vm_state, ../vm_types,
|
||||||
../vm/[computation, message], ../vm/interpreter/vm_forks, stint, nimcrypto,
|
../vm/[computation, message], ../vm/interpreter/vm_forks, stint, nimcrypto,
|
||||||
../utils, eth/trie/db, ../tracer, ./executor, ../config, ../genesis, ../utils,
|
../utils, eth/trie/db, ./executor, ../config, ../genesis, ../utils,
|
||||||
stew/endians2
|
stew/endians2
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
@ -14,6 +14,9 @@ import
|
||||||
../utils/header, precompiles,
|
../utils/header, precompiles,
|
||||||
transaction_tracer, ../utils
|
transaction_tracer, ../utils
|
||||||
|
|
||||||
|
when defined(chronicles_log_level):
|
||||||
|
import stew/byteutils
|
||||||
|
|
||||||
when defined(evmc_enabled):
|
when defined(evmc_enabled):
|
||||||
import evmc/evmc, evmc_helpers, evmc_api, stew/ranges/ptr_arith
|
import evmc/evmc, evmc_helpers, evmc_api, stew/ranges/ptr_arith
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue