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

Fix indexing in MIPS constraints environment #2076

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

querolita
Copy link
Member

Due to a missing reset of the scratch state index inside the new of the CircuitTrait, constraints were being created in the main with wrong indices coming from the accumulation of previous instructions.

This PR solves that issue.

Related to #2075, but still didn't fix the constraints failing.

@querolita querolita requested a review from volhovm April 15, 2024 18:35
@volhovm volhovm merged commit 4fb098a into master Apr 16, 2024
5 checks passed
@volhovm volhovm deleted the zkvm/mips/fix-constraint-env-reset branch April 16, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants