Skip to content

Refactor PeerId::default to strip prerelease tags from version #145

@artrixdotdev

Description

@artrixdotdev

With #144 about to be merged, I noticed an issue where the PeerId tests failed specifically for the Tortillas ID, the problem being that when the version is 0.0.0-alpha-commit the alpha text gets put into our PeerId, which can result in conflicts, and a myriad of other issues. before #144 can get merged, we need to strip the alpha de-notion, and the commit hash from the ID when calling PeerId::default

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomersmed prioMedium Priority

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions