Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: moving node initialization code to node_factory.nim #2479

Merged
merged 16 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/chat2/chat2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import
../../waku/waku_node,
../../waku/node/waku_metrics,
../../waku/node/peer_manager,
../../waku/factory/builder,
../../waku/common/utils/nat,
./config_chat2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually it may be possible for all apps, including chat2, to start using the common factory/external_config and only add app-specific config items in an extension module. Nothing to action for now. :)


Expand Down
1 change: 1 addition & 0 deletions apps/chat2bridge/chat2bridge.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import
../../waku/waku_filter,
../../waku/waku_filter_v2,
../../waku/waku_store,
../../waku/factory/builder,
# Chat 2 imports
../chat2/chat2,
# Common cli config
Expand Down
1 change: 1 addition & 0 deletions apps/networkmonitor/networkmonitor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import
../../waku/waku_discv5,
../../waku/waku_dnsdisc,
../../waku/waku_rln_relay,
../../waku/factory/builder,
../wakunode2/networks_config,
./networkmonitor_metrics,
./networkmonitor_config,
Expand Down
3 changes: 2 additions & 1 deletion apps/wakucanary/wakucanary.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import
../../waku/waku_enr,
../../waku/node/peer_manager,
../../waku/waku_core,
../../waku/waku_node
../../waku/waku_node,
../../waku/factory/builder

# protocols and their tag
const ProtocolsTable = {
Expand Down
Loading
Loading