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

[2/4 EIP 4844 in inserter circuit] prover: use Keccak256 implementation form Gnark #12

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

wzmuda
Copy link
Collaborator

@wzmuda wzmuda commented Jun 13, 2024

This is patch 2/4 of the EIP 4844 in inserter circuit

In keccak package add a wrapper converting []frontend.Variable to []uints.U8 expected by NewLegacykeccak256. Use the wrapper in insertion and deletion circuits instead of our Keccak256 implementation.

Remove the existing Keccak implementation. Add tests of the new implementation.

@wzmuda wzmuda requested a review from kustosz June 13, 2024 21:57
In `keccak` package add a wrapper converting []frontend.Variable to
[]uints.U8 expected by NewLegacykeccak256. Use the wrapper in insertion
and deletion circuits instead of our Keccak256 implementation.

Remove the existing Keccak implementation. Add tests of the new
implementation.

Signed-off-by: Wojciech Zmuda <[email protected]>
@wzmuda wzmuda merged commit 9666200 into next Jun 20, 2024
1 check passed
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.

2 participants