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: add Store.checkpoint_states pruning #648

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

MegaRedHand
Copy link
Collaborator

Storing blocks and states in the DB reduces the amount of data we store in memory. However, we still have some other Store attributes that could grow indefinitely: checkpoint_states, unrealized_justifications, and equivocating_indices. This PR prunes checkpoint_states on each block, to address this problem.

@MegaRedHand MegaRedHand requested a review from a team as a code owner January 17, 2024 16:18
@MegaRedHand MegaRedHand self-assigned this Jan 17, 2024
@MegaRedHand MegaRedHand merged commit e6da304 into main Jan 19, 2024
10 checks passed
@MegaRedHand MegaRedHand deleted the prune-target-checkpoint-states branch January 19, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants