-
Notifications
You must be signed in to change notification settings - Fork 431
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
Fixing ManualKey<0>
to act properly
#1670
Conversation
…bility of really using the zero storage key. This fix allows using the zero manual key that overrides the auto-generated key.
<ResolverKey<ManualKey<456>, ManualKey<123>> as StorageKey>::KEY, | ||
456 | ||
); | ||
assert_eq!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the fix, it would fail with the 123
storage key=)
Thanks for the PR, @xgreenx! Can you add a changelog entry to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Previously the
ManualKey<0>
acted as anAutoKey
without the possibility of really using the zero storage key. This fix allows using the zero manual key that overrides the auto-generated key.