mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-14 08:57:14 +00:00
fix(rln-relay): flaky static group manager test (#1798)
This commit is contained in:
parent
0111b88b9b
commit
0e9ecbd6a9
@ -21,6 +21,9 @@ import
|
|||||||
eth/keys,
|
eth/keys,
|
||||||
discovery/dnsdisc/builder
|
discovery/dnsdisc/builder
|
||||||
|
|
||||||
|
import
|
||||||
|
std/tempfiles
|
||||||
|
|
||||||
proc generateCredentials(rlnInstance: ptr RLN): IdentityCredential =
|
proc generateCredentials(rlnInstance: ptr RLN): IdentityCredential =
|
||||||
let credRes = membershipKeyGen(rlnInstance)
|
let credRes = membershipKeyGen(rlnInstance)
|
||||||
return credRes.get()
|
return credRes.get()
|
||||||
@ -33,7 +36,7 @@ proc generateCredentials(rlnInstance: ptr RLN, n: int): seq[IdentityCredential]
|
|||||||
|
|
||||||
suite "Static group manager":
|
suite "Static group manager":
|
||||||
setup:
|
setup:
|
||||||
let rlnInstanceRes = createRlnInstance()
|
let rlnInstanceRes = createRlnInstance(tree_path = genTempPath("rln_tree", "static"))
|
||||||
require:
|
require:
|
||||||
rlnInstanceRes.isOk()
|
rlnInstanceRes.isOk()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user