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: proofs for divergent leaf nodes #16

Merged
merged 3 commits into from
May 22, 2024

Conversation

rkrasiuk
Copy link
Member

Description

Closes #15. Proof for a given leaf node should be stored at the path to it rather than the full key. This fixes the case where the divergent leaf node was not retained for the proof where target key is not present in the trie.

@rkrasiuk rkrasiuk merged commit d1d5424 into main May 22, 2024
20 checks passed
@rkrasiuk rkrasiuk deleted the rkrasiuk/proofs-divergent-leaf-nodes branch May 22, 2024 13:03
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.

bug: proof must include first divergent node
1 participant