-
Notifications
You must be signed in to change notification settings - Fork 23
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
refactor: createDID
, deactivateDID
, updateDID
RPCs
#338
Conversation
The RPCs were tested on following test cases: Create DID Tests
Update DID Tests
Deactivate DID
|
This PR intends to refactor
createDID
,deactivateDID
,updateDID
RPCs. Following are some of the major changes:While Registering a DID Document, signature of every controller and verification methods present in the DID Doc must be verified.
While Updating a DID Document
controller
attribute of DID Document), cannot perform any Update Operations of the DID DocumentWhile Deactivating a DID Document, at least one valid signature from any of the existing controllers or VMs are needed.
Verification method relationship field
authentication
is completely disassociated from Update operations of a DID Document.