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

Commit 83eeed3

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 3e07e24 commit 83eeed3

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

package-lock.json

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"wherearewe": "^1.0.0"
199199
},
200200
"devDependencies": {
201-
"go-ipfs": "^0.11.0",
201+
"go-ipfs": "^0.12.2",
202202
"ipfs": "^0.61.0",
203203
"ipfs-http-client": "^55.0.0"
204204
},

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)