kilt-node
kilt-node copied to clipboard
refactor: DID authorisation logic
This PR fixes https://github.com/KILTprotocol/ticket/issues/1897.
It is based on top of https://github.com/KILTprotocol/mashnet-node/pull/350, as they are meant to be considered two parts of the same solution.
What it does
In short, this PR allows DID creation calls to use a DidOrigin instead of a SignedOrigin, meaning that it will go through submit_did_call and, when batched with other DID management extrinsics, will not require an additional signature.