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

Endorser protocol updates - refactor to use event bus #1448

Merged
merged 16 commits into from
Oct 20, 2021

Conversation

ianco
Copy link
Contributor

@ianco ianco commented Oct 17, 2021

Add a function to the protocol to (potentially) subscribe to events

Register/subscribe to all protocol events on aca-py startup

Add meta-data to the endorser transaction record to pass information downstream (e.g. save cred def revocation info so it's available to the revocation registry tasks)

(see https://hackmd.io/51flx8CVS1ypyOjEqVl1tg?view#Implementation-Details)

There are some issues when running with askar but I will deal with those on a separate PR

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2021

Codecov Report

Merging #1448 (00f9e4a) into main (fec69f1) will decrease coverage by 0.05%.
The diff coverage is 39.33%.

@@            Coverage Diff             @@
##             main    #1448      +/-   ##
==========================================
- Coverage   94.60%   94.54%   -0.06%     
==========================================
  Files         483      485       +2     
  Lines       29707    29753      +46     
==========================================
+ Hits        28104    28130      +26     
- Misses       1603     1623      +20     

Copy link
Member

@esune esune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 👍🏻 Thanks Ian!

@ianco ianco merged commit b47f657 into openwallet-foundation:main Oct 20, 2021
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.

3 participants