Skip to content
Unverified Commit cc4fe1ec authored by georgepisaltu's avatar georgepisaltu Committed by GitHub
Browse files

[Identity] Decouple usernames from identities (#5554)



This PR refactors `pallet-identity` to decouple usernames from
identities.

Main changes in this PR:
- Separate usernames from identities in storage, allowing for correct
deposit accounting
- Introduce the option for username authorities to put up a deposit to
issue a username
- Allow authorities to remove usernames by declaring the intent to do
so, then removing the username after the grace period expires
- Refactor the authority storage to be keyed by suffix rather than owner
account.
- Introduce the concept of a system provider for a username, different
from a governance allocation, allowing for usernames set by the system
and not a specific authority
- Implement multi-block migration to enable all of the changes described
above

---------

Signed-off-by: default avatargeorgepisaltu <[email protected]>
Co-authored-by: default avatarAnkan <[email protected]>
parent 80cd5fd5
Pipeline #503420 waiting for manual action with stages
in 30 minutes and 24 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment