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

bug: exp module perspective mismatch #157

Closed
ivokub opened this issue May 23, 2024 · 2 comments
Closed

bug: exp module perspective mismatch #157

ivokub opened this issue May 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ivokub
Copy link

ivokub commented May 23, 2024

Trying to open zkevm.bin through the libcorset Go bindings:

corset, err := C.corset_from_file(C.CString("/home/ivo/temp/cur/zkevm.bin"))

I get the error:

columns exp.TRIM_BYTE%computation and exp.AUX_255_HOOD are in different perspectives

from the library.

Corset version: 067b412
Constraints version: f1d213b75a2a226200b8d394dffce9d1b94b5979

@DavePearce DavePearce added the bug Something isn't working label May 27, 2024
@DavePearce
Copy link
Collaborator

DavePearce commented Jun 10, 2024

Minimal test case for reproduction:

(module test)
(defcolumns (FLAG))
(defperspective tmp FLAG ((BYTE :byte@prove)))

Command-line:

corset wizard-iop -vv -o test.bin test.lisp 

Observe that removing @prove and its fine. This is related to how byte constraints are enforced. Hence, this is related to #129. Fixing #129 will presumably resolve this automatically.

@DavePearce
Copy link
Collaborator

This is now resolved by #182. I believe there are likely to be issue around perspectives still, which will be addressed in #101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants