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