-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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): dangling storage hashes #4108
Conversation
Codecov Report
... and 37 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
always selfdestruct
always!!! |
Description
If we compute the state root incrementally for a block range where the account got self-destructed, there is a possibility that the intermediate hashes of its storage trie would not be deleted. If the account is re-created later, its previous intermediate hashes might be considered a part of the current storage trie. This is addressed by always removing the storage nodes for any account that has been destroyed.
Should close #4107