-
Notifications
You must be signed in to change notification settings - Fork 740
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
Get rid of libp2p
dependency in sc-network-sync
#4858
Comments
First time attempting to contribute to polkadot SDK, I'd like to give this a shot |
Hello @dmitry-markin, I'd like to know what defines an agnostic type. |
This is coming from the
The dependency to 1 type of network library makes it non-network backend agnostic, so by removing the libp2p dependency from |
@cenwadike , I would suggest to |
Ok, created a PR . |
@dmitry-markin , I have PR ready to be reviewed here: |
## Issue #4858 ## Description This PR removes `libp2p::request_response::OutboundFailure` from `substrate/client/network/sync/src/engine.rs`. This way, the dependency with the library `libp2p` is removed from `sc-network-sync`. --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Dmitry Markin <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]>
libp2p
is currently pulled in as a dependency ofsc-network-sync
due to the use oflibp2p::request_response::OutboundFailure
insubstrate/client/network/sync/src/engine.rs
. This should be refactored/replaced by a network backend agnostic type.The text was updated successfully, but these errors were encountered: