-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Use StorageNMap for Approvals in assets pallet #8816
Conversation
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.
looks right to me :)
need to make sure @jacogr signs off on this before we actually merge
I have holes in the JS API atm - so stuff like the In this case it is purely the approvals for which I don't yet have something UI-wise. Additionally know of nothing out there tool, UI-wise or otherwise that uses this functionality atm. So it is technically non-breaking for existing tools. Even explorers need work anyway before they are able to index chains using this (e.g. the Python libs and Ruby libs), but since it is not on an existing chain, all is safe. Need to get the first items sorted anyway API-wise before being able to do anything. (It is "just work", nicely marked, so no crisis - just need a gap) TL:DR Get it in. |
bot merge |
Trying merge. |
* Use StorageNMap for Approvals in assets pallet * Use EncodeLike on HashKeyPrefix trait bounds * Add comments clarifying AccountId roles * Properly document the keys in the Approvals storage * Fix line width
Fixes #8291.