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

Refactor MerkleTreeGadget to be generic over HashGadget #142

Closed
2 tasks
tessico opened this issue Nov 18, 2022 · 1 comment · Fixed by #167
Closed
2 tasks

Refactor MerkleTreeGadget to be generic over HashGadget #142

tessico opened this issue Nov 18, 2022 · 1 comment · Fixed by #167
Assignees
Milestone

Comments

@tessico
Copy link
Contributor

tessico commented Nov 18, 2022

The WIP merkle tree circuit refactor is Rescue-hash specific.
We should have code that's polymorphic over different hash gadgets.

Tasks:

  • Introduce a HashGadget and make RescueGadget implement it
  • Make MerkleTreeGadget generic over HashGadget

See discussion here: #138 (comment)

@tessico
Copy link
Contributor Author

tessico commented Nov 23, 2022

Indirectly related to better sponge APIs: #15

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 a pull request may close this issue.

2 participants