Fair-Squares / fair-squares

Fair housing for all
http://www.fair-squares.nl
Apache License 2.0
16 stars 8 forks source link

[REFACTORING] Upgrade to `polkadot-v0.9.40` and rewrite-optimise pallet_Roles #265

Open ndkazu opened 1 year ago

ndkazu commented 1 year ago

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:

3. Upgrade Housing Fund pallet 4. Upgrade Nft-pallet 5. Upgrade Onboarding pallet

To be continued...

ndkazu commented 1 year ago

Step 1 - Rewrite Pallet-Roles

Users should be able to have several roles: Sensitives roles attribution happens through governance.

ndkazu commented 1 year ago

Pallet roles remarks:

ndkazu commented 1 year ago

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