Skip to content

Improve compatibility with zcash incrementalmerkletree upstream crate#101

Merged
tzemanovic merged 2 commits intomainfrom
tiago/update-incrementalmerkletree
Jul 28, 2025
Merged

Improve compatibility with zcash incrementalmerkletree upstream crate#101
tzemanovic merged 2 commits intomainfrom
tiago/update-incrementalmerkletree

Conversation

@sug0
Copy link
Contributor

@sug0 sug0 commented Jul 17, 2025

  • Update incrementalmerkletree to 0.8.2
  • Add conversion methods from native data structures to the ones from incrementalmerkletree
  • Add methods to retrieve byte representation of note commitments

closes #90

@sug0 sug0 requested a review from murisi July 17, 2025 13:16
@sug0 sug0 requested a review from grarco July 18, 2025 15:11
@sug0
Copy link
Contributor Author

sug0 commented Jul 21, 2025

sorry, just added some missing convenience methods

@sug0 sug0 force-pushed the tiago/update-incrementalmerkletree branch from 5774de4 to c74146b Compare July 21, 2025 14:04
@sug0 sug0 changed the title Update incrementalmerkletree to 0.8.2 Improve compatibility with zcash incrementalmerkletree upstream crate Jul 21, 2025
@sug0 sug0 requested a review from grarco July 21, 2025 14:28
Copy link
Contributor

@murisi murisi left a comment

Choose a reason for hiding this comment

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

Thanks! I don't see any logical issues with this code. But to be on the safe side, I just left some questions here. Probably I'm just missing a little context here...

@sug0
Copy link
Contributor Author

sug0 commented Jul 24, 2025

@murisi I think ultimately it might be better to get rid of compare_nodes_from_ff_repr, and users can implement ordering mechanisms themselves. I'll remove the comparison code

@sug0 sug0 force-pushed the tiago/update-incrementalmerkletree branch from c74146b to f8144b2 Compare July 24, 2025 12:55
@sug0 sug0 requested a review from murisi July 24, 2025 12:55
Copy link
Contributor

@murisi murisi 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 to me, thanks!

@sug0 sug0 force-pushed the tiago/update-incrementalmerkletree branch from f8144b2 to ffdcd0a Compare July 25, 2025 09:43
@sug0 sug0 requested a review from tzemanovic July 25, 2025 21:01
@tzemanovic tzemanovic merged commit 5612ccf into main Jul 28, 2025
11 checks passed
@sug0 sug0 deleted the tiago/update-incrementalmerkletree branch July 29, 2025 08:35
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.

update incrementalmerkletree dep

4 participants