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 gostream compatibility #686

Closed
wants to merge 1 commit into from

Conversation

gmelodie
Copy link

@gmelodie gmelodie commented Aug 4, 2022

I was getting this while trying to import boost:

# github.com/filecoin-project/boost/transport/httptransport
../../go/pkg/mod/github.com/filecoin-project/boost@v1.2.0/transport/httptransport/libp2p_server.go:251:33: undefined: gostream.Stream

It seems that gostream now uses network.Stream instead of gostream.Stream. This makes boost compatible with it again

@jacobheun
Copy link
Contributor

This unfortunately doesn't work as the gostream and network stream interfaces aren't the same (tests will fail). ref libp2p/go-libp2p-gostream#67. I'm not sure exactly what Boost is leveraging the different interface for but we need to fix the dependency branch usage here. @dirkmc has the full context here to help resolve and is back on Monday.

@jacobheun jacobheun added this to the v1.3.0 milestone Aug 5, 2022
@jacobheun jacobheun requested a review from dirkmc August 5, 2022 11:30
@jacobheun jacobheun modified the milestones: v1.3.0, v1.4.0 Aug 10, 2022
@dirkmc
Copy link
Contributor

dirkmc commented Aug 15, 2022

I've added a commit to libp2p/go-libp2p-gostream#67 so that it uses network.Stream instead of gostream.Stream
Once this change is merged and released I'll bubble up to this PR

@jacobheun jacobheun removed this from the v1.4.0 milestone Oct 14, 2022
rvagg added a commit that referenced this pull request Nov 25, 2022
rvagg added a commit that referenced this pull request Nov 25, 2022
@rvagg
Copy link
Member

rvagg commented Nov 25, 2022

hopefully solved @ #1009

@gmelodie
Copy link
Author

Closing in favor of #1009

@gmelodie gmelodie closed this Nov 26, 2022
dirkmc pushed a commit that referenced this pull request Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants