Version 1.0.0-rc1

This commit is contained in:
Zahary Karadjov 2020-11-25 03:13:35 +02:00
parent b9e4fef616
commit 3594fa2a22
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 6 additions and 8 deletions

View File

@ -1171,8 +1171,6 @@ programMain:
echo "Wrote ", bootstrapFile
of noCommand:
warn "You are running an alpha version of Nimbus - it is not suitable for mainnet!",
version = fullVersionStr
info "Launching beacon node",
version = fullVersionStr,
bls_backend = $BLS_BACKEND,

View File

@ -811,7 +811,7 @@ func init*(T: type GraffitiBytes, input: string): GraffitiBytes
func defaultGraffitiBytes*(): GraffitiBytes =
let graffitiBytes =
toBytes("Nimbus/" & fullVersionStr & "-" & versionBlob)
toBytes("Nimbus/" & fullVersionStr)
distinctBase(result)[0 ..< graffitiBytes.len] = graffitiBytes
proc writeValue*(w: var JsonWriter, value: GraffitiBytes)

View File

@ -7,11 +7,11 @@ when not defined(nimscript):
let copyrights* = "Copyright (c) 2019-" & $(now().utc.year) & " Status Research & Development GmbH"
const
versionMajor* = 0
versionMinor* = 6
versionBuild* = 6
versionMajor* = 1
versionMinor* = 0
versionBuild* = 0
versionBlob* = "hope" # Single word - ends up in the default graffitti
versionBlob* = "rc1" # Single word - ends up in the default graffitti
useInsecureFeatures* = defined(insecure)
@ -22,7 +22,7 @@ const
versionAsStr* =
$versionMajor & "." & $versionMinor & "." & $versionBuild
fullVersionStr* = "v" & versionAsStr & "-" & gitRevision
fullVersionStr* = "v" & versionAsStr & "-" & gitRevision & "-" & versionBlob
func shortNimBanner*(): string =
const gitPrefix = "git hash: "