diff --git a/nimbus/config.nim b/nimbus/config.nim index b1e4d8b0b..6e56261ae 100644 --- a/nimbus/config.nim +++ b/nimbus/config.nim @@ -32,10 +32,10 @@ import export net, defs -let +const # e.g.: Copyright (c) 2018-2021 Status Research & Development GmbH NimbusCopyright* = "Copyright (c) 2018-" & - $(now().utc.year) & + CompileDate.split('-')[0] & " Status Research & Development GmbH" # e.g.: diff --git a/tools/evmstate/config.nim b/tools/evmstate/config.nim index f542306ea..bd3fbb732 100644 --- a/tools/evmstate/config.nim +++ b/tools/evmstate/config.nim @@ -1,5 +1,5 @@ # Nimbus -# Copyright (c) 2022 Status Research & Development GmbH +# Copyright (c) 2022-2024 Status Research & Development GmbH # Licensed under either of # * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or # http://www.apache.org/licenses/LICENSE-2.0) @@ -9,7 +9,7 @@ # according to those terms. import - std/[os, options], + std/[os, options, strutils], confutils, confutils/defs export @@ -79,8 +79,10 @@ type argument }: string const - Copyright = "Copyright (c) 2022 Status Research & Development GmbH" - Version = "Nimbus-evmstate 0.1.0" + Copyright = "Copyright (c) 2022-" & + CompileDate.split('-')[0] & + " Status Research & Development GmbH" + Version = "Nimbus-evmstate 0.1.2" proc init*(_: type StateConf, cmdLine = commandLineParams()): StateConf = {.push warning[ProveInit]: off.} diff --git a/tools/t8n/config.nim b/tools/t8n/config.nim index a505b0493..6c87513d3 100644 --- a/tools/t8n/config.nim +++ b/tools/t8n/config.nim @@ -1,5 +1,5 @@ # Nimbus -# Copyright (c) 2022-2023 Status Research & Development GmbH +# Copyright (c) 2022-2024 Status Research & Development GmbH # Licensed under either of # * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or # http://www.apache.org/licenses/LICENSE-2.0) @@ -171,8 +171,10 @@ proc convertToNimStyle(cmds: openArray[string]): seq[string] = inc i const - Copyright = "Copyright (c) 2022 Status Research & Development GmbH" - Version = "Nimbus-t8n 0.2.2" + Copyright = "Copyright (c) 2022-" & + CompileDate.split('-')[0] & + " Status Research & Development GmbH" + Version = "Nimbus-t8n 0.2.4" # force the compiler to instantiate T8NConf.load # rather than have to export parseCmdArg