-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(protocol): deploy the generated Yul plonk verifier #13016
Conversation
Codecov Report
@@ Coverage Diff @@
## main #13016 +/- ##
==========================================
- Coverage 65.34% 64.97% -0.38%
==========================================
Files 113 112 -1
Lines 3105 3095 -10
Branches 386 383 -3
==========================================
- Hits 2029 2011 -18
- Misses 999 1008 +9
+ Partials 77 76 -1
*This pull request uses carry forward flags. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@davidtaikocha is there only one verification key or multiple ones? |
I think right now this generated |
Right now, we also look up from AddressManager the verification key, if there is only one of them built into Plonk Verifier, not sure if we need this look up. |
will also update this part of logic if needed (might in another PR if this one got merged) after @smtmfft 's confirmation. |
The circuit just has some max limits (tx number, calldata size, etc), so far I think we could have only one for test purpose. |
Seems like some manual work to get yul support in. Is it not possible to use existing plugins like https://github.com/ControlCplusControlV/hardhat-Yul? I never used hardhat so no idea if this would be sufficient or not. |
|
ref: #12126
Not included in this PR:
verificationKey
is hard-coded in the generated PlonkVerifier, need to make it as a configurable parameter.