Skip to content

Commit

Permalink
append current version in agentString which is used by the identify p…
Browse files Browse the repository at this point in the history
…rotocol (#3057)
  • Loading branch information
Ivansete-status authored and gabrielmer committed Sep 25, 2024
1 parent 5afa9b1 commit 368bb3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion waku/factory/external_config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ include ../waku_core/message/default_values

export confTomlDefs, confTomlNet, confEnvvarDefs, confEnvvarNet

# Git version in git describe format (defined at compile time)
const git_version* {.strdefine.} = "n/a"

type ConfResult*[T] = Result[T, string]

type EthRpcUrl* = distinct string
Expand Down Expand Up @@ -157,7 +160,7 @@ type WakuNodeConf* = object
.}: uint16

agentString* {.
defaultValue: "nwaku",
defaultValue: "nwaku-" & git_version,
desc: "Node agent string which is used as identifier in network",
name: "agent-string"
.}: string
Expand Down

0 comments on commit 368bb3c

Please sign in to comment.