Skip to content

Commit

Permalink
Merge pull request #237 from ConsenSys/ccs-get-constraints
Browse files Browse the repository at this point in the history
feat: added ccs.GetConstraints
  • Loading branch information
gbotrel authored Jan 24, 2022
2 parents d3eb384 + 80f480d commit 2738738
Show file tree
Hide file tree
Showing 16 changed files with 806 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/ccs.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ type CompiledConstraintSystem interface {
GetCounters() []compiled.Counter

GetSchema() *schema.Schema

// GetConstraints return a human readable representation of the constraints
GetConstraints() [][]string
}
62 changes: 62 additions & 0 deletions internal/backend/bls12-377/cs/r1cs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions internal/backend/bls12-377/cs/r1cs_sparse.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 62 additions & 0 deletions internal/backend/bls12-381/cs/r1cs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions internal/backend/bls12-381/cs/r1cs_sparse.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 62 additions & 0 deletions internal/backend/bls24-315/cs/r1cs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2738738

Please sign in to comment.