Add Status test nodes (#486)
This commit is contained in:
parent
927a5f3afe
commit
dcd1339b8d
|
@ -1 +1 @@
|
|||
Subproject commit 0b110f3287f26e03f5e7ac4c9e7f0103456895c0
|
||||
Subproject commit 3f1d6e2922e491bb883d7a8a19053dfef9ef6ea5
|
|
@ -1 +1 @@
|
|||
Subproject commit 9414202d53fac99a0b1af33acac816ff9236e6d0
|
||||
Subproject commit b06a5b6e32aa4d5abf9c1019ab6728fa8f360cc5
|
|
@ -7,6 +7,7 @@ type
|
|||
none
|
||||
prod
|
||||
staging
|
||||
test
|
||||
|
||||
WakuNodeConf* = object
|
||||
logLevel* {.
|
||||
|
|
|
@ -96,6 +96,7 @@ proc run(config: WakuNodeConf) =
|
|||
let bootnodes = if config.bootnodes.len > 0: setBootNodes(config.bootnodes)
|
||||
elif config.fleet == prod: setBootNodes(StatusBootNodes)
|
||||
elif config.fleet == staging: setBootNodes(StatusBootNodesStaging)
|
||||
elif config.fleet == test : setBootNodes(StatusBootNodesTest)
|
||||
else: @[]
|
||||
|
||||
traceAsyncErrors node.connectToNetwork(bootnodes, not config.noListen,
|
||||
|
@ -106,6 +107,7 @@ proc run(config: WakuNodeConf) =
|
|||
if config.staticnodes.len > 0: connectToNodes(node, config.staticnodes)
|
||||
elif config.fleet == prod: connectToNodes(node, WhisperNodes)
|
||||
elif config.fleet == staging: connectToNodes(node, WhisperNodesStaging)
|
||||
elif config.fleet == test: connectToNodes(node, WhisperNodesTest)
|
||||
|
||||
if config.rpc:
|
||||
let ta = initTAddress(config.rpcAddress,
|
||||
|
|
Loading…
Reference in New Issue