Skip to content

Conversation

@dannywillems
Copy link
Member

@dannywillems dannywillems commented Dec 9, 2024

master commit: cdbc90c275dba3b70aff5fc2ad5a29ebee10c2e5
developer commit: 872c8f2d1cae6bc0e46d1cf79655eb4592792b52

The code related to Keccak constraints in Kimchi has been removed as it is not used in Berkeley/Kimchi.

Commands:

git checkout master
git checkout -b dw/merge-back-develop-in-master
git merge develop
git rm -rf circuit-construction/
git merge --continue
git push origin dw/merge-back-develop-in-master

In addition to that, I added some commits to make Mina happy.

@codecov
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.

Project coverage is 77.00%. Comparing base (e0ac06d) to head (0e0f707).
Report is 48 commits behind head on master.

Files with missing lines Patch % Lines
kimchi/src/circuits/expr.rs 0.00% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2868      +/-   ##
==========================================
+ Coverage   76.81%   77.00%   +0.18%     
==========================================
  Files         260      258       -2     
  Lines       61371    61130     -241     
==========================================
- Hits        47145    47076      -69     
+ Misses      14226    14054     -172     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Keccak has been rewritten in o1js instead of being exported from Kimchi.
Therefore, the code has never been used.
The code related to witness generation has been kept to be used in the o1vm.
@dannywillems dannywillems marked this pull request as draft December 9, 2024 15:22
@dannywillems dannywillems marked this pull request as ready for review December 9, 2024 16:10
To have the same version used by o1js/mina.
Copy link
Member

@querolita querolita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After checking with Danny, I confirm that the Keccak parts that are being removed in this PR are not in use right now. Those constraints and gadgets were a first version of the ones that were then introduced for the o1vm project, and they were only being used inside an old-ish draft PR to check correctness of constraints and witness generation (which required a generic number of witness columns, as well as a full integration of that circuit gate in the proof system, also closed PRs). Other than that, we must not remove the keccak witness generation code inside kimchi, because that's the one being used in o1vm. Perhaps now it makes sense to move that inside the o1vm module.

I also checked that the changes I made to the bound on the zk rows for chunking has been correctly updated in this merge.

Copy link
Contributor

@volhovm volhovm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems about right -- I understand the only last 3 commits are "on top of master for compatibility with mina". They seem to be very benign.

This was referenced Dec 13, 2024
@dannywillems dannywillems force-pushed the dw/merge-back-develop-in-master branch 2 times, most recently from 6e6eadb to 335feeb Compare January 12, 2025 08:07
@dannywillems
Copy link
Member Author

dannywillems commented Jan 27, 2025

Merging master again into the branch, for the new Saffron job added.

@dannywillems
Copy link
Member Author

Merging as it is ok as soon as we don't touch develop.

@dannywillems dannywillems merged commit b0c4ec9 into master Feb 3, 2025
13 checks passed
@dannywillems dannywillems deleted the dw/merge-back-develop-in-master branch February 3, 2025 14:03
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.

4 participants