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

notary: avoid changing pooled fallback transaction witnesses #3108

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

AnnaShaleva
Copy link
Member

Forbid Notary service to change the fallback's witnesses in any way. Fix the problem described in review comment: #3098 (comment).

I won't say it's a bug, because no one has used the notary pool before getrawnotarytransaction and getrawnotarypool appearance.

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #3108 (c63289a) into master (b4dff7b) will increase coverage by 0.00%.
Report is 8 commits behind head on master.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3108   +/-   ##
=======================================
  Coverage   84.81%   84.81%           
=======================================
  Files         329      329           
  Lines       44222    44239   +17     
=======================================
+ Hits        37507    37522   +15     
- Misses       5206     5208    +2     
  Partials     1509     1509           
Files Changed Coverage Δ
pkg/services/notary/notary.go 82.45% <100.00%> (-0.24%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@tatiana-nspcc tatiana-nspcc left a comment

Choose a reason for hiding this comment

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

Nice.

Forbid Notary service to change the fallback's witnesses in any way.
Fix the problem described in review comment:
#3098 (comment).

Signed-off-by: Anna Shaleva <[email protected]>
@roman-khimov roman-khimov merged commit ad24aad into master Aug 29, 2023
@roman-khimov roman-khimov deleted the create-fallback-copy branch August 29, 2023 13:16
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