Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: update stream types #316

Merged
merged 2 commits into from
May 5, 2023

Conversation

achingbrain
Copy link
Collaborator

libp2p streams are now explicit about the types of sync/sources they provide, showing that they are AsyncGenerators and not just AsyncIterables.

Refs: achingbrain/it-stream-types#45

BREAKING CHANGE: the type of the source/sink properties have changed

libp2p streams are now explicit about the types of sync/sources they provide, showing that they are
`AsyncGenerator`s and not just `AsyncIterable`s.

Refs: achingbrain/it-stream-types#45

BREAKING CHANGE: the type of the source/sink properties have changed
@achingbrain achingbrain requested a review from a team as a code owner April 19, 2023 14:44
@achingbrain achingbrain changed the title deps!: update stream types fix!: update stream types Apr 19, 2023
@wemeetagain
Copy link
Member

@achingbrain it seems the interop test is failing

@MarcoPolo
Copy link
Contributor

I believe Interop tests will be broken until the next version of js-libp2p is released

wemeetagain
wemeetagain previously approved these changes May 2, 2023
Signed-off-by: Marin Petrunic <marin.petrunic@gmail.com>
@mpetrunic
Copy link
Member

@achingbrain Seems like go-libp2p in interop tests doesn't support mplex by default. I enabled yamux on js libp2p in this tests so it works but when debugging, go peer doesn't list mplex as supported protocol

@mpetrunic mpetrunic merged commit 8426920 into ChainSafe:master May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants