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

chore: Refactor batch writer witness collection #862

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

sandrask
Copy link
Contributor

@sandrask sandrask commented Nov 5, 2021

Refactor batch writer witnesses collection for offer activity: send individual system witness URLs instead of one preconfigured 'system' witness URL that points to system witnesses collection. Required in order to send only a subset of witnesses (as per policy) in the future.

Closes #861

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

@cla-bot cla-bot bot added the cla-signed label Nov 5, 2021
Refactor batch writer witnesses collection for offer activity:  send individual system witness URLs instead of one preconfigured 'system' witness URL that points to system witnesses collection. Required in order to send only a subset of witnesses (as per policy) in the future.

Closes trustbloc#861

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@codecov
Copy link

codecov bot commented Nov 5, 2021

Codecov Report

Merging #862 (d816979) into main (edfe4cd) will increase coverage by 0.00%.
The diff coverage is 98.52%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #862   +/-   ##
=======================================
  Coverage   89.29%   89.30%           
=======================================
  Files         148      148           
  Lines       13168    13177    +9     
=======================================
+ Hits        11759    11768    +9     
  Misses        865      865           
  Partials      544      544           
Impacted Files Coverage Δ
pkg/store/witness/witness.go 90.85% <80.00%> (ø)
pkg/anchor/handler/proof/handler.go 84.34% <100.00%> (ø)
pkg/anchor/writer/writer.go 91.25% <100.00%> (+0.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edfe4cd...d816979. Read the comment docs.

@fqutishat fqutishat merged commit b13902e into trustbloc:main Nov 5, 2021
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.

Refactor batch writer witness collection
3 participants