This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 272
Integrate precompiles into callop #498
Comments
30 tasks
Is this issue resolved via privacy-scaling-explorations/zkevm-circuits#1628 ? We need to investigate. @ChihChengLiang will take a look at this. |
Update: 🙈 Sorry, this task remains to be worked. I just realized I'm at the spec repo not the circuit repo.
|
4 tasks
4 tasks
Yep, this is about the spec not the circuit. We need to sync the spec with the circuit. 😄 |
KimiWu123
added a commit
that referenced
this issue
Feb 21, 2024
* feat: callop and PrecompileGadget (draft) * feat: precompile oog * feat: remove rlc in callop for PrecompileGadget * test: refactor callop test for precompiles * test: complete testing for precompiles in callop * chore: add comments * feat: complete precompile checks in precompile_gadget * Update src/zkevm_specs/evm_circuit/execution/callop.py Co-authored-by: Chih Cheng Liang <[email protected]> * fix: incorrect caller/callee call context * fix: ecRecover allows input len is not 128 bytes * feat: add copy rlc for precompiles input/output * feat: add input/output rlc data check in ecRecover (PoC) * refactor ecrecover rlc input --------- Co-authored-by: Chih Cheng Liang <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, our precompile gadgets are all individual verification gadgets, but we need to integrate these precompile gadgets into
callop
(bcs precompiles are part ofcallop
). Could refer to Scroll's implementation: https://github.com/scroll-tech/zkevm-circuits/blob/2e06a0f4d089c2c01f2f62f44dc4a2ed354f4d28/zkevm-circuits/src/evm_circuit/execution/callop.rs#L315-L523The text was updated successfully, but these errors were encountered: