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

Allow for crids in event payload to be integers #2819

Merged

Conversation

jamshale
Copy link
Contributor

The revocation notification not sending ended up being a simple bug. The crids from the ledger response was a list of integers but the list comprehension statement was expecting strings as thats what it gets from the wallet. I solved this by converting the list to strings to allow the payload to send integers. Think this is slightly better then making sure everywhere that ever uses this event handler is sending strings. Also added a bit better logging.

One thing I noticed is that both v1 and v2 handlers are both handling the same event. The first handler (v1 is loaded first) deletes the record so the v2 won't send the message. Not sure if this is what we want or not. Also the v1 wasn't using the revocation.notify config. So that is a bug as well I think. I changed v1 to recognize that config now.

Ran into a lot of things with testing traction locally against new acapy changes.

@jamshale jamshale force-pushed the revocation-notification branch from ff3a425 to ea85255 Compare February 28, 2024 22:10
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@jamshale jamshale marked this pull request as ready for review February 28, 2024 22:51
@jamshale jamshale requested review from swcurran and ianco February 28, 2024 22:52
@jamshale jamshale merged commit f9b282e into openwallet-foundation:main Feb 29, 2024
8 checks passed
gvelez17 pushed a commit to Whats-Cookin/aries-cloudagent-python that referenced this pull request Mar 8, 2024
gvelez17 pushed a commit to Whats-Cookin/aries-cloudagent-python that referenced this pull request Mar 25, 2024
gvelez17 pushed a commit to Whats-Cookin/aries-cloudagent-python that referenced this pull request Mar 25, 2024
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