Logo
Explore Help
Sign In
logos-messaging/logos-messaging-nim
1
0
Fork 0
You've already forked logos-messaging-nim
mirror of https://github.com/logos-messaging/logos-messaging-nim.git synced 2026-01-02 14:03:06 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-messaging-nim/tests/node/utils.nim

8 lines
264 B
Nim
Raw Permalink Normal View History

test(peer-and-connection-management): Implement tests (#2566) * Implement peer and connection management tests. * Fix multiple peers added on initialisation. * Remove clusterId parameter from newTestWakuNode.
2024-05-13 17:25:44 +02:00
import std/options, results
import
chore: refactor relative path to better absolute (#2861)
2024-07-06 03:33:38 +05:30
waku/[node/peer_manager, node/waku_node, waku_enr/sharding, common/enr/typed_record],
test(peer-and-connection-management): Implement tests (#2566) * Implement peer and connection management tests. * Fix multiple peers added on initialisation. * Remove clusterId parameter from newTestWakuNode.
2024-05-13 17:25:44 +02:00
../testlib/[wakucore]
proc relayShards*(node: WakuNode): RelayShards =
return node.enr.toTyped().get().relayShardingIndicesList().get()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 55ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API