Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
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

@marten-seemann

Description

@marten-seemann

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:

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.

Metadata

Metadata

Assignees

Labels

need/triageNeeds initial labeling and prioritization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions