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

Guard against branch with one child and no value #168

Open
cheme opened this issue Oct 4, 2022 · 0 comments
Open

Guard against branch with one child and no value #168

cheme opened this issue Oct 4, 2022 · 0 comments

Comments

@cheme
Copy link
Contributor

cheme commented Oct 4, 2022

When decoding nodes we should not allow branch with one child and no value.
This change requires changing the codec trait to allow the compact proof decoding in trie-db/src/proof/verify.rs (internally this proof can skip the value).

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

No branches or pull requests

1 participant