Skip to content

chore: use peer id parsing function from libp2p #762

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

Merged
merged 2 commits into from
Mar 13, 2025
Merged

Conversation

2color
Copy link
Member

@2color 2color commented Mar 12, 2025

What

Small refactor to use peerIdFromString in @libp2p/peer-id which now accepts CID encoded PeerIDs.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@2color 2color requested a review from a team as a code owner March 12, 2025 16:11
@achingbrain achingbrain changed the title refactor: use peer id parsing function from libp2p chore: use peer id parsing function from libp2p Mar 13, 2025
@achingbrain achingbrain merged commit ad081b2 into main Mar 13, 2025
19 checks passed
@achingbrain achingbrain deleted the small-refactor branch March 13, 2025 07:48
2color added a commit that referenced this pull request Mar 13, 2025
* origin/main:
  chore: use peer id parsing function from libp2p (#762)
  feat: add republish signed ipns records (#745)
  fix: use bytestream methods to add byte streams (#758)
  chore: bump codecov/codecov-action from 5.3.1 to 5.4.0 (#752)
  feat: allow modifying trustless-gateway fetch (#751)
  fix: align implicit default ttl with specs (#749)
  docs: add spell checker to ci (#743)
  chore: Update FUNDING.json for Optimism RPF (#746)
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