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

Update get/set_did_public to use a storage record pointer #1249

Merged

Conversation

andrewwhitehead
Copy link
Contributor

This should be much faster when there are many DIDs stored in the wallet.

The 'public' DID metadata property is now generally ignored except when auto-upgrading an existing wallet. The get_posted_dids method is updated to NOT filter the public DID, as it did previously.

Includes a couple fixes for warnings when running tests.

@codecov-commenter
Copy link

codecov-commenter commented Jun 17, 2021

Codecov Report

Merging #1249 (ce6454a) into main (68347f8) will decrease coverage by 0.02%.
The diff coverage is 91.56%.

@@            Coverage Diff             @@
##             main    #1249      +/-   ##
==========================================
- Coverage   98.23%   98.21%   -0.03%     
==========================================
  Files         466      466              
  Lines       26708    26739      +31     
==========================================
+ Hits        26237    26261      +24     
- Misses        471      478       +7     

Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Copy link
Contributor

@swcurran swcurran left a comment

Choose a reason for hiding this comment

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

LGTM (but I don't know...) and I ran the performance demo and all good. Not sure that is sufficient.

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.

4 participants