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

Dependency conflict with go-libp2p library #13206

Closed
wangwzhou opened this issue Nov 20, 2023 · 1 comment · Fixed by #13304
Closed

Dependency conflict with go-libp2p library #13206

wangwzhou opened this issue Nov 20, 2023 · 1 comment · Fixed by #13304
Labels
Bug Something isn't working

Comments

@wangwzhou
Copy link

wangwzhou commented Nov 20, 2023

Describe the bug

I have prysmaticlabs/prysm/v4@v4.1.0 imported in my service. However when I try to upgrade its dependency libp2p/go-libp2p to a recent version v0.30.0 in my service as well, it starts to complain about

github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared imports
github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain imports
github.com/prysmaticlabs/prysm/v4/beacon-chain/p2p imports
github.com/libp2p/go-libp2p/p2p/muxer/mplex: module github.com/libp2p/go-libp2p@latest found (v0.32.1), but does not contain package github.com/libp2p/go-libp2p/p2p/muxer/mplex

Check the Removal of mplex in go-libp2p V0.30.0 Release https://github.com/libp2p/go-libp2p/releases/tag/v0.30.0

Has this worked before in a previous version?

It works when I use `libp2p/go-libp2p=v0.27.8` whose version is the same as in `prysmaticlabs/prysm/v4@v4.1.0`

🔬 Minimal Reproduction

No response

Error

No response

Platform(s)

No response

What version of Prysm are you running? (Which release)

v4.1.0

Anything else relevant (validator index / public key)?

No response

@wangwzhou wangwzhou added the Bug Something isn't working label Nov 20, 2023
@prestonvanloon
Copy link
Member

Updating libp2p is often a non-trivial amount of work due to consistently breaking change in their library. A pull request to upgrade libp2p is welcome. Otherwise, I'm not sure when we will have time to upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants