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 SaveVersion() #260

Closed
wants to merge 4 commits into from
Closed

Fix SaveVersion() #260

wants to merge 4 commits into from

Conversation

Lbird
Copy link

@Lbird Lbird commented Jun 8, 2020

When saving on snapshot version, delete flushed nodes and root hash from recentDB.

#256

@Lbird Lbird requested a review from erikgrinaker as a code owner June 8, 2020 02:57
@erikgrinaker
Copy link
Contributor

Thanks for opening this PR @Lbird! Would you mind updating the unit tests (specifically the failing pruning_test.go tests), and rebasing against master?

@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #260 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   68.60%   68.62%   +0.01%     
==========================================
  Files          23       23              
  Lines        2472     2473       +1     
==========================================
+ Hits         1696     1697       +1     
  Misses        599      599              
  Partials      177      177              
Impacted Files Coverage Δ
nodedb.go 72.38% <100.00%> (+0.05%) ⬆️
Impacted Files Coverage Δ
nodedb.go 72.38% <100.00%> (+0.05%) ⬆️

@erikgrinaker
Copy link
Contributor

@AdityaSripal Do you have any thoughts on this?

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.

2 participants