Add startup banner (#2354)

Same as all other nimbuses
This commit is contained in:
Jacek Sieka 2024-06-14 10:08:44 +02:00 committed by GitHub
parent 5a18537450
commit 0f53d11b52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import
common/chain_config, common/chain_config,
db/opts db/opts
export net export net, defs
const const
# TODO: fix this agent-string format to match other # TODO: fix this agent-string format to match other

View File

@ -208,6 +208,10 @@ proc run(nimbus: NimbusNode, conf: NimbusConf) =
defaultChroniclesStream.output.outFile = nil # to avoid closing stdout defaultChroniclesStream.output.outFile = nil # to avoid closing stdout
discard defaultChroniclesStream.output.open(logFile, fmAppend) discard defaultChroniclesStream.output.open(logFile, fmAppend)
info "Launching execution client",
version = FullVersionStr,
conf
when defined(evmc_enabled): when defined(evmc_enabled):
evmcSetLibraryPath(conf.evm) evmcSetLibraryPath(conf.evm)

View File

@ -60,3 +60,5 @@ const
GitRevisionBytes* = hexToByteArray[4](GitRevision) GitRevisionBytes* = hexToByteArray[4](GitRevision)
NimVersion* = "Nim version " & $NimMajor & "." & $NimMinor & "." & $NimPatch NimVersion* = "Nim version " & $NimMajor & "." & $NimMinor & "." & $NimPatch
FullVersionStr* = "v" & NimbusVersion & "-" & GitRevision