refactor: move app.nim and networks_config.nim to waku/factory (#2608)

This commit is contained in:
Ivan FB 2024-04-19 20:03:36 +02:00 committed by GitHub
parent 39299ceac7
commit 1ba9df4be0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ import
../../waku/waku_relay,
../../waku/waku_rln_relay,
../../waku/factory/builder,
../wakunode2/networks_config,
../../waku/factory/networks_config,
./networkmonitor_metrics,
./networkmonitor_config,
./networkmonitor_utils

View File

@ -17,8 +17,8 @@ import
../../tools/rln_db_inspector/rln_db_inspector,
../../waku/common/logging,
../../waku/factory/external_config,
./networks_config,
./app
../../waku/factory/networks_config,
../../waku/factory/app
logScope:
topics = "wakunode main"

View File

@ -22,7 +22,7 @@ import
../../../../waku/waku_store,
../../../../waku/factory/builder,
../../../../waku/factory/node_factory,
../../../apps/wakunode2/networks_config,
../../../../waku/factory/networks_config,
../../../events/[json_message_event, json_base_event],
../../../alloc,
../../config

View File

@ -11,7 +11,7 @@ import
libp2p/switch
import ../testlib/common, ../testlib/wakucore, ../testlib/wakunode
include ../../apps/wakunode2/app
include ../../waku/factory/app
suite "Wakunode2 - App":
test "compilation version should be reported":

View File

@ -155,7 +155,7 @@ proc init*(T: type App, conf: WakuNodeConf): Result[App, string] =
## Setup DiscoveryV5
proc setupDiscoveryV5*(app: App): WakuDiscoveryV5 =
proc setupDiscoveryV5(app: App): WakuDiscoveryV5 =
let dynamicBootstrapEnrs =
app.dynamicBootstrapNodes.filterIt(it.hasUdpPort()).mapIt(it.enr.get())