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: Orb client document verification fails for deactivated document #1530

Merged

Conversation

sandrask
Copy link
Contributor

Input and resolved documents are the same however metadata check fails due to missing updateCommitment.

We should not be checking commitments for deactivated document since they are not available.

Closes #1529

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

Input and resolved documents are the same however metadata check fails due to missing updateCommitment.

We should not be checking commitments for deactivated document since they are not available.

Closes trustbloc#1529

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@cla-bot cla-bot bot added the cla-signed label Nov 29, 2022
@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Base: 88.09% // Head: 88.11% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (4576669) compared to base (d7d8a55).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1530      +/-   ##
==========================================
+ Coverage   88.09%   88.11%   +0.02%     
==========================================
  Files         220      220              
  Lines       20885    20900      +15     
==========================================
+ Hits        18398    18417      +19     
+ Misses       1590     1587       -3     
+ Partials      897      896       -1     
Impacted Files Coverage Δ
...orbclient/resolutionverifier/resolutionverifier.go 92.85% <100.00%> (+0.70%) ⬆️
pkg/observer/pubsub.go 92.85% <0.00%> (ø)
pkg/vct/proofmonitoring/monitoring.go 84.09% <0.00%> (+3.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fqutishat fqutishat merged commit 07e05f2 into trustbloc:main Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orb client document verification fails for deactivated document
2 participants