Bump libp2p to address inconsistency in mesh peer tracking (#2493)

## Issue Addressed

- Resolves #2457
- Resolves #2443

## Proposed Changes

Target the (presently unreleased) head of `libp2p/rust-libp2p:master` in order to obtain the fix from https://github.com/libp2p/rust-libp2p/pull/2175.

Additionally:

- `libsecp256k1` needed to be upgraded to satisfy the new version of `libp2p`.
- There were also a handful of minor changes to `eth2_libp2p` to suit some interface changes.
- Two `cargo audit --ignore` flags were remove due to libp2p upgrades.

## Additional Info
 
 NA
This commit is contained in:
Paul Hauner
2021-08-12 01:59:20 +00:00
parent 33ff51a096
commit 4af6fcfafd
7 changed files with 116 additions and 94 deletions

View File

@@ -151,7 +151,7 @@ arbitrary-fuzz:
# Runs cargo audit (Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database)
audit:
cargo install --force cargo-audit
cargo audit --ignore RUSTSEC-2021-0073 --ignore RUSTSEC-2021-0076
cargo audit
# Runs `cargo udeps` to check for unused dependencies
udeps: