-
Notifications
You must be signed in to change notification settings - Fork 50
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
[Question]: a problem with some pil constraints #392
Comments
@laisolizq can you help me solve this question? I found that arith sm restricts range and limits the type of value. when I try to use n = 2 21, arith sm cannot pass the plonkup check |
cc: @zkronos73 |
The lookup tables are optimized for 2^23, you must use N=2^23 if not, some lookups fail.
To verify constrains need to use N = 2^23 |
@zkronos73
sm_arith.js
sm_main_exec.js
The implementation of the buildByte2Bits16 at this time is like this
Is there any connection between the |
Version
v6.0.0
Description
I tried to change part of the logic in zkasm, and when I execute the main_executor.js file and enter a specific input, it prompts me to execute successfully. However, when I tried to use verifyPil to verify it (zkasm's N = = pil's N), I was prompted with the following error. I understand that this is a problem with some constraints. I want to know how to troubleshoot the problem in this case. Or is it that after changing zkasm logic, pil files need to be changed accordingly? Is there any convenient way to generate the corresponding pil according to zkasm?
The text was updated successfully, but these errors were encountered: