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

revert the hashing of nodes in commit #380

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

gballet
Copy link
Member

@gballet gballet commented Jul 25, 2023

This reverts a workaround in which children of InternalNodes whose commitment were updated, were replaced by HashedNodes. This meant that any further access to these nodes would require a node resolution, and this causes a lot of problems e.g. with proof creation, as a tree whose root hash was computed required loading the tree structure from disk in order to get proof items.

The initial performance problem has been fixed in gballet/go-ethereum#242 and so this can be reverted.

@gballet gballet merged commit b2d852d into master Jul 25, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants