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

Make GetProofItems capable of resolving hashed nodes #377

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

gballet
Copy link
Member

@gballet gballet commented Jul 11, 2023

No description provided.

@gballet gballet requested a review from jsign July 11, 2023 11:54
tree.go Outdated
Comment on lines 837 to 853
pe.Vals = append(pe.Vals, nil)
for _ = range group {
// Append one nil value per key in this missing stem
pe.Vals = append(pe.Vals, nil)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe this is known, but looks overlapping with the other PR.

@gballet gballet force-pushed the fix-resolution-in-get-proof-items branch from 89d284b to 9e9d894 Compare July 11, 2023 15:46
@gballet
Copy link
Member Author

gballet commented Jul 14, 2023

I'm going to directly fix the open storage trie commit, it should be simpler than implementing this. This PR can still be needed in case the tree that is being proven can not fit in RAM, so I'm not closing it right away.

@gballet gballet force-pushed the fix-resolution-in-get-proof-items branch from 9e9d894 to f715a42 Compare August 29, 2023 14:34
@gballet gballet removed the on-hold label Aug 29, 2023
@gballet gballet merged commit 1261831 into master Aug 29, 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