mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 22:06:21 +00:00
8da71715eb
The shell expansion syntax used in the run_node script was not handled properly by the bash shell shipped with macOS. In particular, it was not able to handle range expressions involving interpolated vars: cp foo/{$FIRST_INDEX..$LAST_INDEX} ...
19 lines
473 B
Nim
19 lines
473 B
Nim
const
|
|
useRLPx* = not defined(withLibP2P)
|
|
|
|
const
|
|
versionMajor* = 0
|
|
versionMinor* = 2
|
|
versionBuild* = 0
|
|
|
|
semanticVersion* = 1
|
|
# Bump this up every time a breaking change is introduced
|
|
# Clients having different semantic versions won't be able
|
|
# to join the same testnets.
|
|
|
|
template versionAsStr*: string =
|
|
$versionMajor & "." & $versionMinor & "." & $versionBuild
|
|
|
|
proc fullVersionStr*: string =
|
|
versionAsStr & (if useRLPx: " rlpx" else: " libp2p")
|