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(trie): clear all deleted storage nodes on extend #10411

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

rkrasiuk
Copy link
Member

Description

All previous in-memory trie nodes should be cleared on StorageTrieUpdates::extend if the incoming updates were marked as deleted.

@rkrasiuk rkrasiuk added C-bug An unexpected or incorrect behavior A-trie Related to Merkle Patricia Trie implementation labels Aug 21, 2024
@rkrasiuk rkrasiuk requested a review from Rjected as a code owner August 21, 2024 07:16
@rkrasiuk rkrasiuk added this pull request to the merge queue Aug 21, 2024
Merged via the queue into main with commit 457439e Aug 21, 2024
35 checks passed
@rkrasiuk rkrasiuk deleted the rkrasiuk/clear-deleted-storage-updates-on-extend branch August 21, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants