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

Add cred_def_id to metadata when using an Endorser #1655

Conversation

TheTechmage
Copy link
Contributor

When publishing a new credential definition to the ledger (with the Author/Endorser workflow), the cred_def_id is nowhere to be found in the transaction response or the webhooks. I have moved the metadata definition lines for cred_def_id and issuer_id to the actual definition point for the metadata and have removed the redundant lines that were in an if block.

When a transaction is returned during a credential definition, the
`cred_def_id` is never returned back to the caller (neither in the
response or in the webhooks), however, the schema ID is returned when a
cred_def or a schema transaction is created.

Signed-off-by: Colton Wolkins (Indicio work address) <colton@indicio.tech>
Signed-off-by: Colton Wolkins (Indicio work address) <colton@indicio.tech>
@TheTechmage TheTechmage force-pushed the fix/missing-creddef-id-in-transact branch from fb5aff4 to d4f7174 Compare March 8, 2022 17:18
@TheTechmage
Copy link
Contributor Author

That was just a rebase

@ianco ianco merged commit 9b67bb8 into openwallet-foundation:main Mar 8, 2022
@TheTechmage TheTechmage deleted the fix/missing-creddef-id-in-transact branch March 8, 2022 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants