-
Notifications
You must be signed in to change notification settings - Fork 766
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
Remove libp2p dependency from sc-network-sync #4974
Conversation
@ndkazu totally the crate |
Thanks for the clarification, will keep looking into it then. |
The main libp2p dependency in |
@dmitry-markin & @bkchr , only |
|
I would say the first step would be to remove |
In this case, I think this PR is ready for Review. |
@dmitry-markin & @bkchr , correct me if I'm wrong, but after spending time reading the code, I believe the only way to complete this PR as requested is to remove ALL |
Do not hesitate to let me know If you think I should pull the brake/re-think my approach... |
bot fmt |
@lexnv https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7366911 was started for your command Comment |
@lexnv Command |
Sorry, another |
There is a failing CI test that seems unrelated to this PR: not sure what to do. |
bot fmt |
@dmitry-markin https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7369110 was started for your command Comment |
@dmitry-markin Command |
The unrelated tests failing is not an issue, you can ignore them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job here! Thanks for contributing!
Once @lexnv approves the PR, we will merge it.
Can you also update the PR description to reflect the latest state of PR? Can be something similar to your prdoc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for contributing!
Shall we address issue #4859 next? 😄 |
Fell free :) |
7063395
Issue
#4858
Description
This PR removes
libp2p::request_response::OutboundFailure
fromsubstrate/client/network/sync/src/engine.rs
. This way, the dependency with the librarylibp2p
is removed fromsc-network-sync
.