mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-07-07 08:49:26 +00:00
test: rename DefaultMaxConnections → MaxConnections + fix rln_gifter import paths
This commit is contained in:
parent
2e3c7d0774
commit
ca1857b473
@ -12,6 +12,7 @@ import
|
||||
waku_node,
|
||||
net/net_config,
|
||||
waku_core/topics,
|
||||
node/waku_switch,
|
||||
node/peer_manager,
|
||||
waku_enr,
|
||||
discovery/waku_discv5,
|
||||
@ -56,7 +57,7 @@ proc newTestWakuNode*(
|
||||
extPort = none(Port),
|
||||
extMultiAddrs = newSeq[MultiAddress](),
|
||||
peerStorage: PeerStorage = nil,
|
||||
maxConnections = DefaultMaxConnections,
|
||||
maxConnections = MaxConnections,
|
||||
wsBindPort: Port = (Port) 8000,
|
||||
wsEnabled: bool = false,
|
||||
wssEnabled: bool = false,
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
import std/options, results
|
||||
import testutils/unittests
|
||||
import eth/common/[addresses, keys]
|
||||
import waku/waku_rln_relay/rln_gifter/rpc
|
||||
import waku/waku_rln_relay/rln_gifter/rpc_codec
|
||||
import waku/waku_rln_relay/rln_gifter/protocol as rln_gifter_protocol
|
||||
import logos_delivery/waku/waku_rln_relay/rln_gifter/rpc
|
||||
import logos_delivery/waku/waku_rln_relay/rln_gifter/rpc_codec
|
||||
import logos_delivery/waku/waku_rln_relay/rln_gifter/protocol as rln_gifter_protocol
|
||||
|
||||
proc eip191Sign(seckey: PrivateKey, idCommitment: openArray[byte]): seq[byte] =
|
||||
@(seckey.sign(eip191Message(idCommitment)).toRaw())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user