Skip to content
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

fix: decode more multibase types #152

Merged
merged 2 commits into from
Jul 12, 2021

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Jul 11, 2021

PeerIds used by ipns pubsub are base36 encoded so support parsing
peer IDs out of base36 encoded strings. In fact, just support
every default encoding supported by multiformats.

Also removes multihashes dep as we don't need it any more.

PeerIds used by ipns pubsub are base36 encoded so support parsing
peer IDs out of base36 encoded strings.  In fact, just support
every default encoding supported by multiformats.

Needs base36 support landing in multiformats.

Depends on
- [ ] multiformats/js-multiformats#101
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@achingbrain achingbrain marked this pull request as ready for review July 12, 2021 06:46
@vasco-santos vasco-santos merged commit 4d74274 into master Jul 12, 2021
@vasco-santos vasco-santos deleted the fix/decode-more-multibase-types branch July 12, 2021 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants