Open ndkazu opened 1 year ago
Step 1 - Rewrite Pallet-Roles
types.rs
& functions.rs
to remove Clippy warningsUsers should be able to have several roles: Sensitives roles attribution happens through governance.
Pallet roles remarks:
RequestedRoles
is redundant and not necessary, as we already have Approval waiting lists
storages for each role that requires it ➡ Ruperposed this storage for the governance systemRepresentatives
at genesy: They are not connected to any asset, and are not used for testing ➡no real use for the function init_representatives
in pallet_roles.Identity details and Council
Motivation In both pallets where council is used, we need informations for the council to make an informed vote. In the vote pallet, we solved this problem by adding Dummy parameters. This is not good enough.
Suggestion
Motivation
Now that the web3 grant has been completed, and before adding new functionalities, we need to clean-up and optimise our code. This is no small task, so we need good planning.
Suggested Solution Feel free to add to, adjust this planning. This is a preliminary issue, an detailed content of the task should be discussed/established with all team member before any coding.
1. Upgrade to
polkadot-v0.9.40
:2. Upgrade Roles pallet:
cargo clippy
warnings3. Upgrade Housing Fund pallet 4. Upgrade Nft-pallet 5. Upgrade Onboarding pallet
To be continued...