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

Feat: Dummy PI Circuit #334

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Feat: Dummy PI Circuit #334

wants to merge 12 commits into from

Conversation

Tabaie
Copy link
Contributor

@Tabaie Tabaie commented Nov 22, 2024

This PR introduces a dummy circuit for public input interconnection. As with other circuits, the dev mode in the config will result in creating/proving with this small dummy circuit and full will do the same with the full circuit.
A third mode light is available for a real circuit that doesn't prove/check the correctness of its Keccak256 hashes.

Tests for the aggregation circuit are also fixed and refactored.

Also, the tests revealed that complete arithmetic is sometimes necessary for the verification of the PI circuit. The option is added back in.

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.28%. Comparing base (3ecd750) to head (88b6dbc).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #334      +/-   ##
============================================
+ Coverage     70.19%   70.28%   +0.09%     
- Complexity     1080     1081       +1     
============================================
  Files           305      305              
  Lines         12419    12419              
  Branches       1180     1180              
============================================
+ Hits           8717     8729      +12     
+ Misses         3206     3196      -10     
+ Partials        496      494       -2     
Flag Coverage Δ *Carryforward flag
hardhat 98.05% <ø> (ø)
kotlin 68.05% <ø> (+0.10%) ⬆️ Carriedforward from a59d87b

*This pull request uses carry forward flags. Click here to find out more.

see 3 files with indirect coverage changes

@Tabaie Tabaie temporarily deployed to docker-build-and-e2e November 23, 2024 23:45 — with GitHub Actions Inactive
@Tabaie Tabaie marked this pull request as ready for review November 23, 2024 23:50
@AlexandreBelling AlexandreBelling added the Prover Tag to use for all work impacting the prover label Nov 25, 2024
@Tabaie Tabaie temporarily deployed to docker-build-and-e2e November 26, 2024 00:13 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prover Tag to use for all work impacting the prover
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants