WIP - fixing import after folder moves

This commit is contained in:
NagyZoltanPeter 2026-06-05 15:33:41 +02:00
parent 2b09c42d81
commit a27e3f2a6a
No known key found for this signature in database
GPG Key ID: 3E1F97CF4A7B6F42
18 changed files with 35 additions and 33 deletions

View File

@ -2,7 +2,7 @@ import
std/[strutils, times, sequtils, osproc], math, results, options, testutils/unittests
import
waku/[
logos_delivery/waku/[
waku_rln_relay/protocol_types,
waku_rln_relay/rln,
waku_rln_relay,

View File

@ -31,7 +31,7 @@ import
nameresolving/dnsresolver,
] # define DNS resolution
import
waku/[
logos_delivery/waku/[
waku_core,
waku_lightpush_legacy/common,
waku_lightpush_legacy/rpc,
@ -48,7 +48,7 @@ import
./config_chat2
import libp2p/protocols/pubsub/rpc/messages, libp2p/protocols/pubsub/pubsub
import ../../waku/waku_rln_relay
import ../../logos_delivery/waku/waku_rln_relay
const Help = """
Commands: /[?|help|connect|nick|exit]

View File

@ -10,7 +10,7 @@ import
nimcrypto/utils,
std/strutils,
regex
import waku/waku_core
import logos_delivery/waku/waku_core
type
Fleet* = enum

View File

@ -15,7 +15,7 @@ import
# Waku v2 imports
libp2p/crypto/crypto,
libp2p/errors,
waku/[
logos_delivery/waku/[
waku_core,
waku_node,
node/peer_manager,
@ -242,7 +242,8 @@ proc stop*(cmb: Chat2MatterBridge) {.async: (raises: [Exception]).} =
{.pop.}
# @TODO confutils.nim(775, 17) Error: can raise an unlisted exception: ref IOError
when isMainModule:
import waku/common/utils/nat, waku/rest_api/message_cache
import
logos_delivery/waku/common/utils/nat, logos_delivery/waku/rest_api/message_cache
let
rng = newRng()

View File

@ -33,7 +33,7 @@ import
protocols/mix/mix_protocol,
] # define DNS resolution
import
waku/[
logos_delivery/waku/[
waku_core,
waku_lightpush/common,
waku_lightpush/rpc,
@ -52,7 +52,7 @@ import
./config_chat2mix
import libp2p/protocols/pubsub/rpc/messages, libp2p/protocols/pubsub/pubsub
import ../../waku/waku_rln_relay
import ../../logos_delivery/waku/waku_rln_relay
logScope:
topics = "chat2 mix"

View File

@ -12,7 +12,7 @@ import
confutils/defs,
confutils/std/net
import waku/waku_core, waku/waku_mix
import logos_delivery/waku/waku_core, logos_delivery/waku/waku_mix
type
Fleet* = enum

View File

@ -15,7 +15,7 @@ import
import
tools/confutils/cli_args,
waku/[
logos_delivery/waku/[
node/peer_manager,
waku_lightpush/common,
waku_relay,

View File

@ -1,5 +1,5 @@
import chronos, results, options
import waku/[waku_node, waku_core]
import logos_delivery/waku/[waku_node, waku_core]
import publisher_base
type LegacyPublisher* = ref object of PublisherBase

View File

@ -12,7 +12,7 @@ import
import
tools/confutils/cli_args,
waku/[
logos_delivery/waku/[
common/enr,
common/logging,
factory/waku as waku_factory,

View File

@ -8,7 +8,7 @@ import
results,
json_serialization as js
import
waku/[
logos_delivery/waku/[
common/logging,
waku_node,
node/peer_manager,

View File

@ -1,5 +1,5 @@
import chronos, results
import waku/[waku_node, waku_core]
import logos_delivery/waku/[waku_node, waku_core]
type PublisherBase* = ref object of RootObj
wakuNode*: WakuNode

View File

@ -13,7 +13,7 @@ import
json_serialization as js
import
waku/[
logos_delivery/waku/[
common/logging,
node/peer_manager,
waku_node,

View File

@ -12,7 +12,7 @@ import
import
tools/confutils/cli_args,
waku/[
logos_delivery/waku/[
common/enr,
waku_node,
node/peer_manager,

View File

@ -14,12 +14,12 @@ import
import
../../tools/confutils/
[cli_args, envvar as confEnvvarDefs, envvar_net as confEnvvarNet],
waku/[common/logging, waku_core, waku_core/topics/pubsub_topic]
logos_delivery/waku/[common/logging, waku_core, waku_core/topics/pubsub_topic]
export confTomlDefs, confTomlNet, confEnvvarDefs, confEnvvarNet
const
LitePubsubTopic* = PubsubTopic("/waku/2/rs/66/0")
LitePubsubTopic* = PubsubTopic("/logos_delivery/waku/2/rs/66/0")
LiteContentTopic* = ContentTopic("/tester/1/light-pubsub-example/proto")
DefaultMinTestMessageSizeStr* = "1KiB"
DefaultMaxTestMessageSizeStr* = "150KiB"

View File

@ -6,7 +6,7 @@ import
json_serialization/std/options,
json_serialization/lexer
import waku/rest_api/endpoint/serdes
import logos_delivery/waku/rest_api/endpoint/serdes
type ProtocolTesterMessage* = object
sender*: string

View File

@ -1,5 +1,5 @@
import results, options, chronos
import waku/[waku_node, waku_core, waku_lightpush, waku_lightpush/common]
import logos_delivery/waku/[waku_node, waku_core, waku_lightpush, waku_lightpush/common]
import publisher_base
type V3Publisher* = ref object of PublisherBase

View File

@ -17,7 +17,7 @@ import
metrics/chronos_httpserver,
presto/[route, server, client]
import
waku/[
logos_delivery/waku/[
waku_core,
node/peer_manager,
waku_node,

View File

@ -12,26 +12,27 @@ import
libp2p/multicodec
import
./certsgenerator,
waku/[waku_enr, node/peer_manager, waku_core, waku_node, factory/builder],
waku/net/net_config,
waku/waku_metadata/protocol,
waku/common/callbacks
logos_delivery/waku/
[waku_enr, node/peer_manager, waku_core, waku_node, factory/builder],
logos_delivery/waku/net/net_config,
logos_delivery/waku/waku_metadata/protocol,
logos_delivery/waku/common/callbacks
# protocols and their tag
const ProtocolsTable = {
"store": "/vac/waku/store/",
"storev3": "/vac/waku/store-query/3",
"relay": "/vac/waku/relay/",
"lightpush": "/vac/waku/lightpush/",
"filter": "/vac/waku/filter-subscribe/2",
"filter-push": "/vac/waku/filter-push/",
"store": "/vac/logos_delivery/waku/store/",
"storev3": "/vac/logos_delivery/waku/store-query/3",
"relay": "/vac/logos_delivery/waku/relay/",
"lightpush": "/vac/logos_delivery/waku/lightpush/",
"filter": "/vac/logos_delivery/waku/filter-subscribe/2",
"filter-push": "/vac/logos_delivery/waku/filter-push/",
"ipfs-id": "/ipfs/id/",
"autonat": "/libp2p/autonat/",
"circuit-relay": "/libp2p/circuit/relay/",
"metadata": "/vac/waku/metadata/",
"metadata": "/vac/logos_delivery/waku/metadata/",
"rendezvous": "/rendezvous/",
"ipfs-ping": "/ipfs/ping/",
"peer-exchange": "/vac/waku/peer-exchange/",
"peer-exchange": "/vac/logos_delivery/waku/peer-exchange/",
"mix": "mix/1.0.0",
}.toTable