[x] Refactor CRH API and CRHGadget API so that CRH does not necessarily takes bytes as input
[x] Refactor all implementations of CRH to follow the updated API
[x] Refactor merkle tree native code.
[x] Refactor merkle tree constraints code.
closes: #57
closes: #58
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
[x] Targeted PR against correct branch (main)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[x] Updated relevant documentation in the code
[x] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer
🌲 Merkle Tree V3 & Poseidon Refactor
Part of the PR follows the proposal #58, which adds more functionality to merkle tree.
TwoToOneCRH
trait requires acompress
function, which takes twoOutput
and outputs anOutput
.ark_sponge
Progress
closes: #57 closes: #58
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
Pending
section inCHANGELOG.md
Files changed
in the Github PR explorer