-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/confidential docs #105
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
sebastianmontero
commented
Aug 9, 2022
- Enabled the updating of metadata and removal of owned and shared docs.
- Enabled the updating of vaults, added storage map to keep track of vault owners.
…ctions module for the confidential docs pallet. Developed main module for the confidential docs pallet. Developed types module for the confidential docs pallet. Developed mock module for the confidential docs pallet. Developed tests module for the confidential docs pallet. Configured runtime Cargo toml to add the confidential docs pallet. Configured runtime to include the confidential docs pallet.
…tadata of existing documents in the functions module of the confidential docs pallet. Moved share document validate functionality to its own function in the functions module of the confidential docs pallet. Developed validate shared doc function in the functions module of the confidential docs pallet. Developed validate owned doc function in the functions module of the confidential docs pallet. Developed validate has public key function in the functions module of the confidential docs pallet. Added MaxOwnedDocs and MaxSharedToDocs consts to the confidential docs pallet. Updated the storage for the owned docs in the confidential docs pallet. Added owned docs by owner storage in the confidential docs pallet. Updated ShareDocs storage in the confidential docs pallet. Added Shared docs by to storage in the confidential docs pallet. Updated OwnedDocStored event in the confidential docs pallet. Updated SharedDocStored event in the confidential docs pallet. Added errors in the confidential docs pallet. Developed kill_storage extrinsic in the confidential docs pallet. Updated pallet config in the mocks module in the confidential docs pallet. Developed generate_doc_name method in the tests module in the confidential docs pallet. Developed generate_desc_name method in the tests module in the confidential docs pallet.Developed generate_owned_doc method in the tests module in the confidential docs pallet. Developed generate_shared_doc method in the tests module in the confidential docs pallet. Developed set vault method in the tests module in the confidential docs pallet. Developed tests to verify the owned doc functionality in the confidential docs pallet. Developed tests to verify the shared doc functionality in the confidential docs pallet. Updated shareDoc type in the confidential docs pallet. Updated ownedDoc type in the confidential docs pallet. Updated the confidential docs pallet config in the runtime.
…odule of the confidential docs pallet. Documented main module of the confidential docs pallet.
…the confidential docs pallet. Developed do_update_shared_document_metadata method in the functions module of the confidential docs pallet. Developed do_remove_shared_document method in the functions module of the confidential docs pallet. Added MaxSharedFromDocs const to the confidential docs pallet. Added SharedDocsByFrom storage map to the confidential docs pallet. Developed share document method of the confidential docs pallet to store the from relationship with the document. Added NotDocSharee, CIDNotFound, DocNotFound, ExceedMaxSharedFromDocs errors to the confidential docs pallet. Added OwnedDocRemoved event to the confidential docs pallet. Added SharedDocUpdated event to the confidential docs pallet. Added SharedDocRemoved event to the confidential docs pallet. Developed remove_owned_document extrinsic in the confidential docs pallet. Developed update_shared_document_metadata extrinsic in the confidential docs pallet. Developed remove_shared_document extrinsic in the confidential docs pallet. Developed tests in the confidentail docs pallet to verify the new functionality.
…dentail docs pallet. Developed code in set_vault extrinsic to enable the vault update, ensuring that who is updating the vault is the owner. Developed tests to verify the new set_vault functionality.
amatsonkali
approved these changes
Aug 10, 2022
mgravitt
approved these changes
Aug 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.