Skip to content

Conversation

@amatsonkali
Copy link
Contributor

No description provided.

sebastianmontero and others added 9 commits July 18, 2022 18:29
…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 amatsonkali merged commit 7c120b1 into main Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants