Skip to content

Commit

Permalink
chore: update imports for enrtree
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Jun 5, 2024
1 parent 0adbf6d commit 3d7dc4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/tests/tests/dns-peer-discovery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("DNS Discovery: Compliance Test", function () {
} as unknown as Libp2pComponents;

return new PeerDiscoveryDns(components, {
enrUrls: [enrTree["TWN_SANDBOX"]],
enrUrls: [enrTree["SANDBOX"]],
wantedNodeCapabilityCount: {
filter: 1
}
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("DNS Node Discovery [live data]", function () {
const waku = await createLightNode({
libp2p: {
peerDiscovery: [
wakuDnsDiscovery([enrTree["TWN_SANDBOX"]], nodeRequirements)
wakuDnsDiscovery([enrTree["SANDBOX"]], nodeRequirements)
]
}
});
Expand All @@ -93,7 +93,7 @@ describe("DNS Node Discovery [live data]", function () {
// Google's dns server address. Needs to be set explicitly to run in CI
const dnsNodeDiscovery = await DnsNodeDiscovery.dnsOverHttp();

const peers = await dnsNodeDiscovery.getPeers([enrTree["TWN_SANDBOX"]], {
const peers = await dnsNodeDiscovery.getPeers([enrTree["SANDBOX"]], {
relay: maxQuantity,
store: maxQuantity,
filter: maxQuantity,
Expand All @@ -120,7 +120,7 @@ describe("DNS Node Discovery [live data]", function () {
const waku = await createLightNode({
libp2p: {
peerDiscovery: [
wakuDnsDiscovery([enrTree["TWN_SANDBOX"], enrTree["TWN_TEST"]], {
wakuDnsDiscovery([enrTree["SANDBOX"], enrTree["TEST"]], {
filter: nodesToConnect
})
]
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/tests/waku.node.optional.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("Use static and several ENR trees for bootstrap", function () {
peerDiscovery: [
bootstrap({ list: [multiAddrWithId.toString()] }),
wakuDnsDiscovery(
[enrTree["TWN_SANDBOX"], enrTree["TWN_TEST"]],
[enrTree["SANDBOX"], enrTree["TEST"]],
NODE_REQUIREMENTS
)
]
Expand Down

0 comments on commit 3d7dc4b

Please sign in to comment.