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

feat(trie): blinded node provider #13027

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Conversation

rkrasiuk
Copy link
Member

Description

Crates blinded node provider trait and its default implementation. Adds blinded node provider the sparse and state tries.

@rkrasiuk rkrasiuk added C-enhancement New feature or request A-trie Related to Merkle Patricia Trie implementation labels Nov 29, 2024
@rkrasiuk rkrasiuk force-pushed the rkrasiuk/blinded-node-provider branch from 60a071c to b5cb4be Compare November 29, 2024 22:32
Comment on lines +824 to +826
// If the path wasn't present in `values`, we still need to walk the trie and ensure that
// there is no node at the path. When a leaf node is a blinded `Hash`, it will have an entry
// in `nodes`, but not in the `values`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

duplicate comment

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh it's mine, then can be removed separately 😄

@rkrasiuk rkrasiuk added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit b91d0f8 Dec 2, 2024
41 checks passed
@rkrasiuk rkrasiuk deleted the rkrasiuk/blinded-node-provider branch December 2, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants