mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-30 00:25: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>
9 lines
366 B
Nim
9 lines
366 B
Nim
proc getContentTopic*(applicationName: string, applicationVersion: int, contentTopicName: string, encoding: string): string =
|
|
return "/$applicationName/$applicationVersion/$contentTopicName/$enconding"
|
|
|
|
|
|
const
|
|
CURRENT* = getContentTopic("application", 1, "content-topic", "proto")
|
|
TESTNET* = getContentTopic("toychat", 2, "huilong", "proto")
|
|
PLAIN* = "test"
|