fix: nwaku master interop tests (#2625)

* fix REST endpoint

* disable px in peer cache test
This commit is contained in:
Sasha 2025-09-08 22:48:18 +02:00 committed by GitHub
parent 16253026c6
commit 8f09f5fa5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -323,7 +323,7 @@ export class ServiceNode {
this.checkProcess();
return this.restCall<boolean>(
"/relay/v1/subscriptions",
"/relay/v1/auto/subscriptions",
"POST",
contentTopics,
async (response) => response.status === 200

View File

@ -85,7 +85,7 @@ describe("Peer Cache Discovery", function () {
waku = await createLightNode({
networkConfig: DefaultTestNetworkConfig,
discovery: {
peerExchange: true,
peerExchange: false,
peerCache: true
},
peerCache: mockCache
@ -116,7 +116,7 @@ describe("Peer Cache Discovery", function () {
networkConfig: DefaultTestNetworkConfig,
bootstrapPeers: [(await nwaku2.getMultiaddrWithId()).toString()],
discovery: {
peerExchange: true,
peerExchange: false,
peerCache: true
},
peerCache: mockCache