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: output unification v2 #71

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Conversation

mpolitzer
Copy link
Collaborator

@mpolitzer mpolitzer commented Jul 2, 2024

Outputs root hash merkle tree is now the same for all inputs, we stop resetting it for each input (v1). With that the tree will grow indefinetely and thus we also increased its height to 63 for up to 2^63 leafs.

Merkle tree tests also had to be updated because changing its height also changes its root hash.

Outputs root hash merkle tree is the same for all inputs, we stop
resetting it for each input (v1). With that the tree will grow
indefinetely and thus we also increased its depth to 2^63 leafs.

Merkle tree tests also had to be updated because changing its depth
also changes its root hash.
@mpolitzer mpolitzer added the enhancement New feature or request label Jul 2, 2024
@mpolitzer mpolitzer requested a review from a team July 2, 2024 15:15
@mpolitzer mpolitzer self-assigned this Jul 2, 2024
Copy link
Contributor

@edubart edubart left a comment

Choose a reason for hiding this comment

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

Looks good for me, but let's wait @diegonehab review.

@edubart edubart requested a review from diegonehab July 2, 2024 15:26
@edubart edubart linked an issue Jul 2, 2024 that may be closed by this pull request
@mpolitzer mpolitzer merged commit eb150af into main Jul 2, 2024
3 checks passed
@mpolitzer mpolitzer deleted the feat/output-unification-v2 branch July 2, 2024 19:39
@mpolitzer
Copy link
Collaborator Author

Looks good for me, but let's wait @diegonehab review.

Sorry, jumped the gun and merged it before seeing this comment.

@vfusco vfusco added this to the v0.16.0 milestone Jul 26, 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
Status: Done
Development

Successfully merging this pull request may close these issues.

Output unification v2 (libcmt)
3 participants