-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix anoncreds proof request #127
fix anoncreds proof request #127
Conversation
Signed-off-by: Adam Burdett <burdettadam@gmail.com>
rev_reg = ( | ||
await anoncreds_registry.get_revocation_registry_definition( | ||
self._profile, revocation_registry_id | ||
) | ||
).revocation_registry.serialize() | ||
# add id to the serialized rev_reg | ||
rev_reg["id"] = revocation_registry_id | ||
revocation_registries[ | ||
revocation_registry_id | ||
] = RevocationRegistry.from_definition( | ||
( | ||
await anoncreds_registry.get_revocation_registry_definition( | ||
self._profile, revocation_registry_id | ||
) | ||
).revocation_registry.serialize(), | ||
rev_reg, | ||
True, | ||
) | ||
return schemas, cred_defs, revocation_registries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should replace use of RevocationRegistry
with RevRegDef
; this causes a small cascade of changes needed up the stack from where this method is called but it shouldn't be too painful of a refactor. See 81ab818#diff-fd952db170fd7d5742268e460f9e739c3e9106a06f4e6e2556a634074841977aL447-R396
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will address this in a separate set of changes
…defintion Signed-off-by: Char Howland <char@indicio.tech>
08056f8
into
feature/anoncreds-revocation-again
No description provided.