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

[Prototype] Implement Blake Hashing for Mina Consensus Selection in o1js Circuit #1754

Open
MartinMinkov opened this issue Jul 16, 2024 · 0 comments · May be fixed by #1767
Open

[Prototype] Implement Blake Hashing for Mina Consensus Selection in o1js Circuit #1754

MartinMinkov opened this issue Jul 16, 2024 · 0 comments · May be fixed by #1767
Assignees

Comments

@MartinMinkov
Copy link
Contributor

MartinMinkov commented Jul 16, 2024

LambdaClass needs to implement the Mina consensus selection algorithm in an o1js circuit. To achieve this, they require the Blake hashing function, which needs to be implemented as a gadget. We need to prototype this implementation and assess its feasibility, particularly focusing on performance and memory constraints.

Objective:

Prototype Blake hashing in o1js, evaluate its performance, and determine if it's suitable for use in the consensus selection algorithm implementation.

Key Points to Address:

  1. Implement Blake hashing as a gadget in o1js.
  2. Assess performance constraints, with a particular focus on memory usage.
  3. Determine if the o1js implementation is feasible or if we need to switch to Snarky for native proving.
@MartinMinkov MartinMinkov changed the title [Prototype] Implement BLAKE hashing [Prototype] Implement Blake Hashing for Mina Consensus Selection in o1js Circuit Jul 16, 2024
@garwalsh garwalsh assigned garwalsh and boray and unassigned garwalsh Jul 16, 2024
@boray boray linked a pull request Jul 23, 2024 that will close this issue
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.

3 participants