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

feat(state): prune block on commit #1404

Merged
merged 8 commits into from
Jul 11, 2024
Merged

Conversation

kehiy
Copy link
Contributor

@kehiy kehiy commented Jul 10, 2024

Description

This PR adds prune on a new block for pruned nodes.

Related issue

@kehiy kehiy added the Sync label Jul 10, 2024
@kehiy kehiy requested a review from b00f July 10, 2024 10:24
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

Attention: Patch coverage is 11.11111% with 16 lines in your changes missing coverage. Please review.

Project coverage is 75.62%. Comparing base (472c347) to head (ff33975).
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1404      +/-   ##
==========================================
- Coverage   77.16%   75.62%   -1.55%     
==========================================
  Files         233      214      -19     
  Lines       11941    11096     -845     
==========================================
- Hits         9214     8391     -823     
- Misses       2305     2308       +3     
+ Partials      422      397      -25     

store/interface.go Outdated Show resolved Hide resolved
store/store.go Outdated Show resolved Hide resolved
@kehiy kehiy requested a review from b00f July 10, 2024 12:52
store/store.go Outdated Show resolved Hide resolved
store/store.go Show resolved Hide resolved
@kehiy kehiy requested a review from b00f July 10, 2024 14:50
@b00f b00f changed the title feat(state): prune blocks 1:1 on commit feat(state): prune block on commit Jul 10, 2024
@b00f b00f merged commit 2115d85 into pactus-project:main Jul 11, 2024
10 checks passed
@kehiy kehiy deleted the feature/prune1 branch July 11, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pruning on New Block 1:1
3 participants