Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating storage RequestedRole when creating roles Seller,Servicer,etc ... #245

Merged
merged 6 commits into from
Feb 18, 2023

Conversation

ndkazu
Copy link
Contributor

@ndkazu ndkazu commented Feb 16, 2023

The new RequestedRoles storage was not being updated, and as a result, new roles requests (seller, servicer) were not found.
I also updated the Notary role creation to use this storage, as there is currently no referendum system similar to the one used for Representatives.
One Question remains:
with the use of RequestedRoles storage for Approval to facilitate the front-end design, NotaryApprovalList, SellerApprovalList, and ServicerApprovalList storages are no used anymore. This needs to be clarified...

@ndkazu ndkazu requested review from cuteolaf and ilhanu February 16, 2023 15:13
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2023

Codecov Report

Merging #245 (9ed47ed) into main (07f4ef3) will increase coverage by 0.06%.
The diff coverage is 85.71%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
+ Coverage   82.62%   82.68%   +0.06%     
==========================================
  Files          69       69              
  Lines        6865     6896      +31     
==========================================
+ Hits         5672     5702      +30     
- Misses       1193     1194       +1     
Impacted Files Coverage Δ
pallets/roles/src/lib.rs 77.77% <ø> (ø)
pallets/roles/src/tests.rs 100.00% <ø> (ø)
runtime/src/lib.rs 10.09% <ø> (ø)
pallets/roles/src/types.rs 91.37% <66.66%> (-4.78%) ⬇️
pallets/asset_management/src/functions.rs 88.36% <73.33%> (-1.09%) ⬇️
pallets/asset_management/src/lib.rs 77.29% <100.00%> (+0.22%) ⬆️
pallets/asset_management/src/tests.rs 99.65% <100.00%> (+0.01%) ⬆️
pallets/tenancy/src/lib.rs 82.14% <100.00%> (+2.14%) ⬆️
pallets/tenancy/src/types.rs 100.00% <100.00%> (+100.00%) ⬆️
pallets/nft/src/functions.rs 68.26% <0.00%> (-0.97%) ⬇️
... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ndkazu ndkazu merged commit 64fca39 into main Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add Event for maintenance fees Asset shares weights are not used for referendum voting.
4 participants