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
When creating a ParticipantContext with ParticipantManifest.isActive=true, a warning is printed:
WARNING [DidDocumentService] Updating DID documents after activating a KeyPair failed: Cannot publish DID 'did:web:alice' for participant 'alice' because the ParticipantContext state is not 'ACTIVATED', but 'CREATED'.
This is because the key pair is added first before activating the Participant (which invokes a did document update). The ParticipantContext is activated afterwards and as a result, the DID document will still be published, but the warning is printed regardless.
Expected Behavior
I expect no warning when directly activating a ParticipantContext at creation.
Observed Behavior
The aforementioned warning is printed.
Steps to Reproduce
Create a ParticipantManifest with .active(true), then create the ParticipantContext
Context Information
Add any other context about the problem here.
Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
Activate the participant (if the manifest has isActive=true) before adding the key pair. Perhaps directly while building the ParticipantContext.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the Bug
When creating a ParticipantContext with
ParticipantManifest.isActive=true
, a warning is printed:WARNING [DidDocumentService] Updating DID documents after activating a KeyPair failed: Cannot publish DID 'did:web:alice' for participant 'alice' because the ParticipantContext state is not 'ACTIVATED', but 'CREATED'.
This is because the key pair is added first before activating the Participant (which invokes a did document update). The ParticipantContext is activated afterwards and as a result, the DID document will still be published, but the warning is printed regardless.
Expected Behavior
I expect no warning when directly activating a ParticipantContext at creation.
Observed Behavior
The aforementioned warning is printed.
Steps to Reproduce
Create a ParticipantManifest with .active(true), then create the ParticipantContext
Context Information
Add any other context about the problem here.
Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
Activate the participant (if the manifest has
isActive=true
) before adding the key pair. Perhaps directly while building the ParticipantContext.The text was updated successfully, but these errors were encountered: