You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prevents storing it in a std::collections::HashSet, which can be helpful during testing.
workspaces::types::PublicKey is a wrapper around near_crypto::PublicKey, which implementsHash. So it should be possible for workspaces::types::PublicKey to derive Hash. Would a PR that adds Hashto the derived traits be welcome?
The text was updated successfully, but these errors were encountered:
Oh thanks for bringing this up. Lots of types in workspaces are there more on a need basis, so some stuff might've been missed. There's a couple things missing from PublicKey that would be nice to have as well. I'll include this in that PR as well
This prevents storing it in a
std::collections::HashSet
, which can be helpful during testing.workspaces::types::PublicKey
is a wrapper aroundnear_crypto::PublicKey
, which implementsHash
. So it should be possible forworkspaces::types::PublicKey
to deriveHash
. Would a PR that addsHash
to the derived traits be welcome?The text was updated successfully, but these errors were encountered: