Open thomaseizinger opened 1 year ago
When tackling this issue, search the codebase for the issue number.
@thomaseizinger Hello, Thomas!
I tried to find a comment with the issue number, but couldn't. Is something changed? I would like to try to make this issue.
Thanks!
Thanks for wanting to tackle this!
You can also search for all usages of ConnectionId::DUMMY
, that should you lead to the same code places that need fixing!
Usages of ConnectionId::DUMMY
are being replaced in https://github.com/libp2p/rust-libp2p/pull/3652. We still want to rewrite those tests to create Swarm
s instead though.
With https://github.com/libp2p/rust-libp2p/pull/3327, we took out some technical debt to move forward with #2824. The tests which currently depend on
ConnectionId
should be refactored to spin up aSwarm
and establish an actual connection which will then allow us to removeConnectionId::DUMMY
.