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

core/state: unexport NodeIterator #27239

Merged
merged 1 commit into from
May 11, 2023

Conversation

gballet
Copy link
Member

@gballet gballet commented May 10, 2023

This is a prerequisite for #27209 : changing the interface in OpenStorageTrie to accept an address instead of an address hash. This interface change is needed for verkle trees, as the hashing algorithm used to find storage is not keccak.

The problem this PR addresses, is that the node iterator would require preimage usage to conform to this new interface. Luckily, the node iterator is only used in tests, so this preimage requirement can easily be enforced. For this to happen, though, the node iterator interface should be unexported, lest someone else starts using it in the meantime.

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM

@karalabe karalabe added this to the 1.11.7 milestone May 11, 2023
@karalabe karalabe merged commit 7577b9c into ethereum:master May 11, 2023
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
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.

4 participants