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: Delete anchor event upon witnessing #834

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

sandrask
Copy link
Contributor

  • add delete to anchor event store
  • delete anchor event after it has been witnessed (batch writer)

Closes #827

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

- add delete to anchor event store
- delete anchor event after it has been witnessed (batch writer)

Closes trustbloc#827

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

codecov bot commented Oct 22, 2021

Codecov Report

Merging #834 (ec99b50) into main (33bdfd2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #834   +/-   ##
=======================================
  Coverage   89.43%   89.43%           
=======================================
  Files         145      145           
  Lines       12754    12758    +4     
=======================================
+ Hits        11406    11410    +4     
  Misses        829      829           
  Partials      519      519           
Impacted Files Coverage Δ
pkg/anchor/writer/writer.go 91.48% <100.00%> (-0.03%) ⬇️
pkg/store/anchorevent/store.go 100.00% <100.00%> (ø)
pkg/observer/pubsub.go 94.44% <0.00%> (ø)

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 33bdfd2...ec99b50. Read the comment docs.

@fqutishat fqutishat merged commit 70c039f into trustbloc:main Oct 22, 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.

Clean up anchor event after it has been witnessed
3 participants