Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: use multihash bytes for provide messages keys #405

Merged
merged 1 commit into from
Dec 7, 2022
Merged

fix: use multihash bytes for provide messages keys #405

merged 1 commit into from
Dec 7, 2022

Conversation

joeltg
Copy link
Contributor

@joeltg joeltg commented Nov 29, 2022

This fixes a bug where ADD_PROVIDER message keys were CID bytes instead of multihash bytes, and changes the CIDs generated in tests to be V1s with raw codec instead of V0s so that the difference is actually tested..

@joeltg
Copy link
Contributor Author

joeltg commented Nov 29, 2022

(fixes #381)

@achingbrain achingbrain merged commit d7e7b5d into libp2p:master Dec 7, 2022
github-actions bot pushed a commit that referenced this pull request Dec 7, 2022
## [6.0.4](v6.0.3...v6.0.4) (2022-12-07)

### Bug Fixes

* use multihash bytes for provide message keys ([#405](#405)) ([d7e7b5d](d7e7b5d)), closes [#381](#381)
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

🎉 This PR is included in version 6.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@joeltg joeltg deleted the multihash-keys branch December 7, 2022 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Inconsistency between message keys in ADD_PROVIDER and GET_PROVIDER (cid bytes vs multihash bytes)
2 participants