Skip to content
Snippets Groups Projects
Commit 52ebb5ef authored by Éloïs's avatar Éloïs
Browse files

feat(runtime): create UDs manually with new call universalDividend.claim_uds (!83)

* ref: move IdtyDataIter in common runtime

* bench real weights for pallet ud

* bench claim_uds

* weights constants

* weights: ParametersStorage is whitelisted

* pallet ud on_initialize weights

* manual ud: not emit event if 0 UDs claimed

* tests(gdev): add int test test_remove_identity_after_one_ud

* auto claim uds at member removal

* migrate pallet id integration tests to manual ud

* remove all try_get in pallet ud

* write PastReevals

* add call claim_uds

* remove pallet ud_accounts_storage

* update pallet ud interface

* create type FirstEligibleUd

* add custom IdtyData
parent 9908e1b2
No related branches found
No related tags found
1 merge request!83feat(runtime): create UDs manually with new call universalDividend.claim_uds
Showing
with 629 additions and 423 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment