-
Notifications
You must be signed in to change notification settings - Fork 391
refactor(aggregation_mode): migrate merkle tree to lambdaworks #1911
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
Conversation
| fn hash_leaves(leaves: &[Self::Data]) -> Vec<Self::Node> { | ||
| leaves.iter().map(|l| l.0).collect() | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This a bit orthodox, hash_leaves doesn't need to be redefined, but if you need it, then it should use hash_data, else hash_data has no purpose. We can re check it tomorrow
| fn hash_leaves(leaves: &[Self::Data]) -> Vec<Self::Node> { | |
| leaves.iter().map(|l| l.0).collect() | |
| } | |
| fn hash_leaves(leaves: &[Self::Data]) -> Vec<Self::Node> { | |
| leaves.iter().map(|l| l.0).collect() | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MauroToscano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to re review the backend definition
Description
Description of the pull request changes and motivation.
Type of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging