-
Notifications
You must be signed in to change notification settings - Fork 1
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
Upgrade libp2p to 0.51 #142
Conversation
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.
clippy found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
# Conflicts: # Cargo.lock # Cargo.toml
fn on_dial_failure(&self, peer_id: Option<PeerId>, dial_error: &DialError) { | ||
if let Some(peer_id) = peer_id { | ||
match dial_error { | ||
DialError::Banned |
Check warning
Code scanning / clippy
use of deprecated unit variant libp2p::libp2p_swarm::DialError::Banned: Use libp2p::allow_block_list instead. Warning
} | ||
} | ||
DialError::Aborted | ||
| DialError::ConnectionLimit(_) |
Check warning
Code scanning / clippy
use of deprecated tuple variant libp2p::libp2p_swarm::DialError::ConnectionLimit: Use libp2p::connection_limits instead and handle {Dial,Listen}Error::Denied::cause. Warning
} | ||
} | ||
DialError::Aborted | ||
| DialError::ConnectionLimit(_) |
Check warning
Code scanning / clippy
use of deprecated field libp2p::libp2p_swarm::DialError::ConnectionLimit::0: Use libp2p::connection_limits instead and handle {Dial,Listen}Error::Denied::cause. Warning
TODO: