Skip to content

fix: edge case with PLONK backend when 1 constraint#1226

Merged
ivokub merged 1 commit intomasterfrom
fix/strict-modreduce-1limb
Jul 25, 2024
Merged

fix: edge case with PLONK backend when 1 constraint#1226
ivokub merged 1 commit intomasterfrom
fix/strict-modreduce-1limb

Conversation

@ivokub
Copy link
Copy Markdown
Collaborator

@ivokub ivokub commented Jul 25, 2024

Description

Fixes big CI error. In Reduce test when emulating Goldilocks we only had a single constraint, but PLONK setup phase assumes circuit of size at least two.

The circuit size check is already defined in several issues: #864, #967. I also have locally open branch to add more helpful errors in case the circuit size is 0 or 1.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How has this been tested?

CI

@ivokub ivokub added the type: bug Something isn't working label Jul 25, 2024
@ivokub ivokub requested a review from gbotrel July 25, 2024 15:34
@ivokub ivokub self-assigned this Jul 25, 2024
@ivokub ivokub requested a review from yelhousni July 25, 2024 15:36
@ivokub ivokub merged commit d6d85d4 into master Jul 25, 2024
@ivokub ivokub deleted the fix/strict-modreduce-1limb branch July 25, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants