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

[2/3] - Add Virtual Support for Merkle Inclusion Proofs #685

Merged
merged 61 commits into from
Oct 2, 2024

Conversation

rauljordan
Copy link
Collaborator

@rauljordan rauljordan commented Sep 16, 2024

Follow up to #681 , this PR adds support for virtual, Merkle inclusion proofs for the optimized implementation.

@rauljordan
Copy link
Collaborator Author

Ready again @potuz , the only copy that exists is essentially in rehashing the leaves passed into ComputeRoot now

Primarily removing extraneous conditional logic, but also improving
reuse of pre-calculated hashes for repeating layers where possible.
@eljobe eljobe self-assigned this Sep 26, 2024
Base automatically changed from optimal-commits to main September 30, 2024 18:12
There was a confusingly inaccurate error message and some BUILD.bazel
content that wasn't formatted the way gazelle wanted.
Copy link
Member

@eljobe eljobe left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@gligneul gligneul left a comment

Choose a reason for hiding this comment

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

LGTM

state-commitments/optimized/history_commitment.go Outdated Show resolved Hide resolved
@eljobe eljobe merged commit 7f7c63d into main Oct 2, 2024
5 checks passed
@eljobe eljobe deleted the replace-history-commits branch October 2, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants