Skip to content
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

Merged

Conversation

burdettadam
Copy link

No description provided.

Signed-off-by: Adam Burdett <burdettadam@gmail.com>
Comment on lines +123 to 136
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
Copy link
Member

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

Copy link
Member

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>
@dbluhm dbluhm merged commit 08056f8 into feature/anoncreds-revocation-again May 26, 2023
4 of 6 checks passed
@dbluhm dbluhm deleted the fix/anoncreds-proof-request branch May 26, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants