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

Feature/Enhancement Request: sparse Merkle tree #5

Open
7 tasks
k98kurz opened this issue Dec 6, 2024 · 2 comments
Open
7 tasks

Feature/Enhancement Request: sparse Merkle tree #5

k98kurz opened this issue Dec 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@k98kurz
Copy link
Owner

k98kurz commented Dec 6, 2024

Feature or Enhancement?

  • (x) New feature
  • ( ) Enhancement of existing feature

Description

Development on this started a while ago, but it was not completed.

  • Remove custom serialization and use packify instead
  • Sparse tree generation
  • VM updates
  • Working inclusion proofs
  • Unit/e2e tests for tree generation and inclusion proofs
  • Implement exclusion proofs (note VM changes in comments, if any)
  • Unit/e2e tests for exclusion proofs

Additional context

@k98kurz k98kurz added the enhancement New feature or request label Dec 6, 2024
@k98kurz k98kurz added this to the 0.2.0 milestone Dec 6, 2024
@k98kurz k98kurz self-assigned this Dec 6, 2024
@k98kurz
Copy link
Owner Author

k98kurz commented Dec 6, 2024

Exclusion proofs are fairly easy: just provide a valid proof from the indexed null node that would have been the location of the requested node. Editing the original issue to break out the individual tasks a bit further.

@k98kurz k98kurz modified the milestones: 0.2.0, 0.1.0 Dec 6, 2024
@k98kurz
Copy link
Owner Author

k98kurz commented Dec 8, 2024

This whole thing is rather convoluted compared to a regular Merkle tree, so I am rescheduling this for a future release.

@k98kurz k98kurz modified the milestones: 0.1.0, 0.2.0 Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant