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

Finish PeerId inlining change #1413

Merged
merged 9 commits into from
Jan 29, 2020
Merged

Finish PeerId inlining change #1413

merged 9 commits into from
Jan 29, 2020

Conversation

tomaka
Copy link
Member

@tomaka tomaka commented Jan 27, 2020

Supersedes #1230

Adds custom implementations of PartialEq and Hash for PeerIds so that they compare equal between hash algorithm.

This is intended to be removed at some point, because the hash algorithm should be derived in a predictable way from the public key.

@tomaka tomaka requested a review from twittner January 27, 2020 14:05
@tomaka
Copy link
Member Author

tomaka commented Jan 27, 2020

Substrate works after this change.

Copy link
Contributor

@twittner twittner left a comment

Choose a reason for hiding this comment

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

Any particular reason why you did not use the property test from #1230 (comment)?

@tomaka
Copy link
Member Author

tomaka commented Jan 28, 2020

Any particular reason why you did not use the property test from #1230 (comment)?

I had forgotten about it.

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.

4 participants