mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 18:06:45 +00:00
817b2e067a
* Add ligthpush payload tests. * Add end to end lightpush tests. * updating vendor/nim-unittest2 to protect against core dump issue * Enable "Valid Payload Sizes" test again --------- Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
15 lines
387 B
Nim
15 lines
387 B
Nim
import std/strformat
|
|
|
|
proc getPubsubTopic*(pubsubTopicName: string): string =
|
|
return fmt"/waku/2/{pubsubTopicName}"
|
|
|
|
|
|
const
|
|
CURRENT* = getPubsubTopic("test")
|
|
CURRENT_NESTED* = getPubsubTopic("test/nested")
|
|
SHARDING* = getPubsubTopic("waku-9_shard-0")
|
|
PLAIN* = "test"
|
|
LEGACY* = "/waku/1/test"
|
|
LEGACY_NESTED* = "/waku/1/test/nested"
|
|
LEGACY_ENCODING* = "/waku/1/test/proto"
|