You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contract methods that update the DID document should also have a flag (or a variant) that also stores the attributes in contract storage, besides emitting the event.
This would be useful for partial on-chain resolution.
We also need to be mindful of revocation of attributes as these would have to also revoke the potentially stored data, regardless of the flag.
The text was updated successfully, but these errors were encountered:
I support this idea as a variant function. I believe XMTP would use this api.
We can support revocation by overwriting and deleting the element from the storage map. A simple key value map is probably sufficient for this.
Does it make sense to implement an eternal storage contract for this purpose so that the storage element is separated from the registry logic? That would be a very simple contract but it could make sense from a design perspective.
Contract methods that update the DID document should also have a flag (or a variant) that also stores the attributes in contract storage, besides emitting the event.
This would be useful for partial on-chain resolution.
We also need to be mindful of revocation of attributes as these would have to also revoke the potentially stored data, regardless of the flag.
The text was updated successfully, but these errors were encountered: