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

r1cs: constraint_system, linear_combination: sort lc terms by var index #12

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

akirillo
Copy link

This PR ensures that the (index, weight) tuples in a SparseWeightRow are consistently ordered by ascending index. This is necessary downstream for proper calldata serialization of circuit weights.

@akirillo akirillo added the bug Something isn't working label Aug 23, 2023
@akirillo akirillo self-assigned this Aug 23, 2023
@akirillo akirillo merged commit 0c579bd into main Aug 23, 2023
4 checks passed
@akirillo akirillo deleted the andrew/sort-extracted-lc-terms branch August 23, 2023 18:21
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

Successfully merging this pull request may close these issues.

2 participants