This repository was archived by the owner on Aug 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
update interop tests for go-libp2p v0.16 #396
Copy link
Copy link
Closed
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Description
Due to the introduction of circuit v2, (for now) the node behind the firewall has to be configured to use the relay node (as a static relays).
The configuration change needed is pretty straightforward: https://github.com/ipfs/go-ipfs/blob/fde7d01a790254ae23e666dcf2eb9ec16a53fe7c/test/sharness/t0182-circuit-relay.sh#L27-L36.
However, I'm not sure how to do the change here. I assume we'd have to create a createGoRelay function:
Lines 57 to 72 in b361f74
| export function createGo (addrs, factory) { | |
| return factory.spawn({ | |
| type: 'go', | |
| ipfsOptions: { | |
| config: { | |
| Addresses: { | |
| Swarm: addrs | |
| }, | |
| Swarm: { | |
| DisableRelay: false, | |
| EnableRelayHop: true | |
| } | |
| } | |
| } | |
| }) | |
| } |
and then change the
createGo function such that it uses that relay.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization