update to new Mix implementation

This commit is contained in:
gmega 2026-06-16 18:12:43 -03:00
parent 31b7d0902a
commit 0e8c4e66d9
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

View File

@ -1,7 +1,7 @@
import std/[options, sequtils, sugar, tables]
import pkg/chronos
import pkg/libp2p/protocols/mix
import pkg/libp2p_mix
import pkg/storage/discovery
import pkg/storage/rng
@ -144,6 +144,8 @@ asyncchecksuite "Block Advertising and Discovery":
discovery = MixMockDiscovery.new()
discovery.mixProto = mix
discovery.dhtMixProxies = @[SignedPeerRecord.example]
discovery.privateSpr = privateSpr
discovery.directSpr = directSpr
discovery.refCid = refCid