Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Update libp2p-core to the latest version so that we can remove the protoc dependency.
https://github.com/libp2p/rust-libp2p/blob/master/core/CHANGELOG.md
Notes & open questions
Notable changes of dependencies related this PR:
identity
moved fromlibp2p_core::identity
tolibp2p_identity
since 0.40.0Protocol::P2p
contain aPeerId
instead of aMultihash
since 0.18.0PublicKey::from_protobuf_encoding
has been renamed toPublicKey::try_decode_protobuf
in 0.1.2PublicKey::encode_uncompressed
has been renamed toPublicKey::to_bytes_uncompressed
in 0.1.2PublicKey::encode
has been renamed toPublicKey::to_bytes
in 0.1.2PublicKey
has been made opaque since 0.2.0I have tested this change with the
request_enr
example:Change checklist