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

feat: add new DID runtime APIs to aid with DID deletion #852

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

ntn-x2
Copy link
Member

@ntn-x2 ntn-x2 commented Jan 20, 2025

Fixes https://github.com/KILTprotocol/ticket/issues/3742.

The PR introduces two new runtime APIs: one that returns an enum of "linked resources", which some clients might find useful to understand why a DID deletion failed, and one that returns a list of RuntimeCalls, that could be extended with a did.delete() call, put together into a utility.batch*, and submitted to the chain, and be sure the DID deletion will work as expected (as long as all the DID origin requirements are met).

@ntn-x2 ntn-x2 self-assigned this Jan 20, 2025
@ntn-x2 ntn-x2 requested review from Ad96el and rflechtner and removed request for Ad96el January 20, 2025 13:54
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.

2 participants