Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 1236ab4

Browse files
committed
fix: EnableHolePunching enabled by default
This fixes interop tests when Swarm.EnableHolePunching in go-ipfs is enabled by default. Ref. ipfs/kubo#8748
1 parent 4826e1a commit 1236ab4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/setup-libp2p-relay-daemon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function getDownloadURL (version, platform, arch, distUrl) {
8181
}
8282

8383
if (!data.platforms[platform].archs[arch]) {
84-
throw new Error(`No binary available for arch '${arch}'`)
84+
throw new Error(`No binary available for platform '${platform}' and arch '${arch}'`)
8585
}
8686

8787
const link = data.platforms[platform].archs[arch].link

test/utils/circuit.js

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export function createGoRelay (addrs, factory) {
130130
Swarm: addrs
131131
},
132132
Swarm: {
133+
EnableHolePunching: false, // depends on Swarm.RelayClient.Enabled
133134
// go uses circuit v2
134135
RelayClient: {
135136
Enabled: false

0 commit comments

Comments
 (0)