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

feat: enable relay v2 tests for js-ipfs #576

Closed
wants to merge 1 commit into from

Conversation

achingbrain
Copy link
Member

Circuit Relay v2 is being implemented in libp2p/js-libp2p#1533 - we should be able to add it with minimal changes to js-ipfs so enable the tests here to prove interop.

Circuit Relay v2 is being implemented in libp2p/js-libp2p#1533
so enable the tests

// Below are legacy tests that use js-ipfs as v1 relay
// (no tests for go-ipfs as relay v1, because since 0.11 it only supports v2)
// FIXME: remove after js-ipfs migrates to v2
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lidel is this true? I still see the v1 protocol as supported by kubo@0.17.x:

% ipfs id
{
...
	"AgentVersion": "kubo/0.17.0/",
	"ProtocolVersion": "ipfs/0.1.0",
	"Protocols": [
		"/ipfs/bitswap",
		"/ipfs/bitswap/1.0.0",
		"/ipfs/bitswap/1.1.0",
		"/ipfs/bitswap/1.2.0",
		"/ipfs/id/1.0.0",
		"/ipfs/id/push/1.0.0",
		"/ipfs/lan/kad/1.0.0",
		"/ipfs/ping/1.0.0",
		"/libp2p/autonat/1.0.0",
		"/libp2p/circuit/relay/0.1.0",      <------ v1?
		"/libp2p/circuit/relay/0.2.0/stop",
		"/libp2p/dcutr",
		"/p2p/id/delta/1.0.0",
		"/x/"
	]
}

@achingbrain
Copy link
Member Author

Circuit relay v2 tests should be run as part of libp2p interop in https://github.com/libp2p/interop

Helia will have it's own interop suite which focusses more on IPFS things, so libp2p things should be tested elsewhere.

@achingbrain achingbrain closed this Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant