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

stateless: add a test for GetCommitmentsAlongPath #155

Open
wants to merge 14 commits into
base: ipa-stateless
Choose a base branch
from

Conversation

gballet
Copy link
Member

@gballet gballet commented Dec 16, 2021

In the case of a stateless sync, a client must be able to work on a stateless verkle tree, and calculate its root commitment. It remains an open question whether there is a use case for building a proof from a stateless tree. It is possible, because in order to be usable, the tree needs to contain enough information to be updatable. This PR is a first attempt at implementing this.

Currently, GetCommitmentAlongPath does not return enough information to be able to provide a proof - siblings that are not in the map, are not returned. This is not currently possible, because StatelessNode does not support "collapsed" or "hashed" nodes.

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.

1 participant