fix: set TEST_PEER_ENR in wakuv2
This commit is contained in:
parent
9fe2236a23
commit
6e705eab2a
|
@ -314,6 +314,7 @@ proc load(self: AppController) =
|
|||
|
||||
self.settingsService.init()
|
||||
self.nodeConfigurationService.init()
|
||||
self.mailserversService.init()
|
||||
self.contactsService.init()
|
||||
self.chatService.init()
|
||||
self.messageService.init()
|
||||
|
@ -327,7 +328,6 @@ proc load(self: AppController) =
|
|||
self.savedAddressService.init()
|
||||
self.aboutService.init()
|
||||
self.devicesService.init()
|
||||
self.mailserversService.init()
|
||||
self.ensService.init()
|
||||
self.gifService.init()
|
||||
|
||||
|
|
|
@ -311,9 +311,14 @@ proc getDefaultNodeConfig*(self: Service, installationId: string): JsonNode =
|
|||
result["WakuV2Config"]["UDPPort"] = wV2Port.newJInt()
|
||||
|
||||
if TEST_PEER_ENR != "":
|
||||
result["ClusterConfig"]["BootNodes"] = %* @[TEST_PEER_ENR]
|
||||
result["ClusterConfig"]["TrustedMailServers"] = %* @[TEST_PEER_ENR]
|
||||
result["ClusterConfig"]["StaticNodes"] = %* @[TEST_PEER_ENR]
|
||||
let testPeerENRArr = %* @[TEST_PEER_ENR]
|
||||
result["ClusterConfig"]["RelayNodes"] = testPeerENRArr
|
||||
result["ClusterConfig"]["StoreNodes"] = testPeerENRArr
|
||||
result["ClusterConfig"]["FilterNodes"] = testPeerENRArr
|
||||
result["ClusterConfig"]["LightpushNodes"] = testPeerENRArr
|
||||
result["ClusterConfig"]["BootNodes"] = %* testPeerENRArr
|
||||
result["ClusterConfig"]["TrustedMailServers"] = testPeerENRArr
|
||||
result["ClusterConfig"]["StaticNodes"] = testPeerENRArr
|
||||
result["ClusterConfig"]["RendezvousNodes"] = %* (@[])
|
||||
result["ClusterConfig"]["DiscV5BootstrapNodes"] = %* (@[])
|
||||
result["Rendezvous"] = newJBool(false)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2a9ac92db9e69d9a1e303ed37e3fa692337bc22b
|
||||
Subproject commit f33c1cec383d8cd7e14af2832b8017d1e204d9cf
|
Loading…
Reference in New Issue