You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SEAM] W5.7 identify/ping: the mock connections of #45 #55
Seam connections for merged PR #45 (W5.7 identify and ping). PR #45 merged at f4e35cb with two own mocks carried, per the organiser ruling of 7 November: an approved PR with a mock of a merged dependency merges, and the swaps land through this issue. The identity and multiaddr rows of the old table are done: the identity swap landed inside #45 on 6 November, and the multiaddr swap landed with the earlier base merge.
delete the mock, import Libp2p.Core, re-type the handlers over the real StreamHandler and StreamContext; the identifyId, identifyPushId, and pingId constants re-point to the real ProtocolId
#87 deletes Protocols/Mock/Muxer.lean and Protocols/Mock/HostStream.lean, and edits the package ARCHITECTURE and PLAN of libp2p/protocols. No public signature changes. Mock/Core.lean and Mock/Host.lean stay for this issue.
Tests/HostPair.lean (new in #87) builds two real hosts over the sim with Noise and yamux: hostPair answers the client, the server, the proved server peer, and the server's failures. The identify and ping suites can run on the same pair after their swap.
Activity
refactor(protocols): run req/resp over the seam types of libp2p/core
IvanAnishchuk commentedon Nov 10, 2026
#86 moves the host onto the merged
libp2p/negotiateand deletesNegotiate.Legacy. No existing signature changes. The host adds four names:Libp2p.Host.upgraderuns the upgrade, with the secured checkpoint after the handshake and before the muxer stage.Libp2p.Host.negotiateStreamruns multistream-select on a muxedStream, and hands the bytes after the selection to the handler.UpgradedandAdmissionnow live inLibp2p.Host. No code outside the host named them before.Once #86 merges,
Tests/Host.leanruns real hosts over the sim (unit 1b). A swap of this unit's host mock can build its test hosts the same way.IvanAnishchuk commentedon Nov 10, 2026
#87 deletes
Protocols/Mock/Muxer.leanandProtocols/Mock/HostStream.lean, and edits the package ARCHITECTURE and PLAN oflibp2p/protocols. No public signature changes.Mock/Core.leanandMock/Host.leanstay for this issue.Tests/HostPair.lean(new in #87) builds two real hosts over the sim with Noise and yamux:hostPairanswers the client, the server, the proved server peer, and the server's failures. The identify and ping suites can run on the same pair after their swap.IvanAnishchuk commentedon Nov 10, 2026
claim. 8 hours have passed, or twelve or however much, was too long in any case and I have another PR depending on this 🤷
refactor(protocols): run identify and ping on the real core and host