Allocate quota for membership instead of identity
Reminder:
Currently, no fees are applied when the network is under normal usage. In cases of high demand, transaction fees are introduced. For users with an identity, these fees are refunded through a quota system that starts accumulating from the moment the identity is created.
Changes in this MR:
This merge request modifies the quota accumulation and refund prerequisites:
- Only members are now eligible for refunds.
- Quotas begin accumulating when an identity becomes a member, rather than at identity creation.
- If an identity's status changes to NotMember (e.g., excluded), refunds are no longer possible.
- As before, quotas are removed when membership is revoked.
- Revoked identities will unlink their accounts.
-
Revoked identities should unlink their account. -
Allocate quota for Membership fix #247 (closed). -
Add tests. -
Upgrade the polkadot-sdk crate dependency. Note that currently the project does not compile with all dependencies upgraded due to a conflict in the SDK.
Edited by Benjamin Gallois
Merge request reports
Activity
Filter activity
changed milestone to %runtime-1000
added RN-runtime label
assigned to @bgallois
added 1 commit
- 2f875f47 - allocate quota for membership instead of identity fix...
added 1 commit
- e3b9c06b - allocate quota for membership instead of identity fix...
requested review from @HugoTrentesaux
added 6 commits
-
91e60b65...dc778c80 - 3 commits from branch
master
- db241e71 - revoke identity unlink account
- c1cee127 - allocate quota for membership instead of identity fix...
- b72c7dd7 - test refund by status
Toggle commit list-
91e60b65...dc778c80 - 3 commits from branch
Please register or sign in to reply