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: remove persisted blocks properly #9969

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jul 31, 2024

we had two remove from tree state functions, one that removed persisted blocks, which didn't properly clean everything, and one correct impl that does it correctly.

this removes the faulty remove_persisted_blocks_from_tree_state and uses the correct fn instead

also changes the arg to Bound so it's easier to reason about the upper bound

@mattsse mattsse added the C-bug An unexpected or incorrect behavior label Jul 31, 2024
@mattsse mattsse enabled auto-merge July 31, 2024 22:47
Copy link
Member

@fgimenez fgimenez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@mattsse mattsse added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit f52dc06 Aug 1, 2024
33 checks passed
@mattsse mattsse deleted the matt/fix-use-correct-remove-fn branch August 1, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants