From 8b1310f3232dff7af8dfb60586de55dc53a57f7b Mon Sep 17 00:00:00 2001 From: tinywell Date: Fri, 15 Jul 2022 10:37:57 +0800 Subject: [PATCH 1/2] fix misspelled ("decsribes" -> "describes") --- internal/backend/bn254/cs/r1cs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/backend/bn254/cs/r1cs.go b/internal/backend/bn254/cs/r1cs.go index d7c93f5ad2..ba987c632d 100644 --- a/internal/backend/bn254/cs/r1cs.go +++ b/internal/backend/bn254/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bn254witness "github.com/consensys/gnark/internal/backend/bn254/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here From 21d6da41d31ce34b228e0ef13f4599fc9e381122 Mon Sep 17 00:00:00 2001 From: tinywell Date: Fri, 29 Jul 2022 11:30:00 +0800 Subject: [PATCH 2/2] fix misspelled ("decsribes" -> "describes") from tmpl file and regenerate --- internal/backend/bls12-377/cs/r1cs.go | 2 +- internal/backend/bls12-381/cs/r1cs.go | 2 +- internal/backend/bls24-315/cs/r1cs.go | 2 +- internal/backend/bw6-633/cs/r1cs.go | 2 +- internal/backend/bw6-761/cs/r1cs.go | 2 +- .../generator/backend/template/representations/r1cs.go.tmpl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/backend/bls12-377/cs/r1cs.go b/internal/backend/bls12-377/cs/r1cs.go index ac7454603a..fd3fc9f2ac 100644 --- a/internal/backend/bls12-377/cs/r1cs.go +++ b/internal/backend/bls12-377/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bls12_377witness "github.com/consensys/gnark/internal/backend/bls12-377/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here diff --git a/internal/backend/bls12-381/cs/r1cs.go b/internal/backend/bls12-381/cs/r1cs.go index cb2036aef0..c798b75eb4 100644 --- a/internal/backend/bls12-381/cs/r1cs.go +++ b/internal/backend/bls12-381/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bls12_381witness "github.com/consensys/gnark/internal/backend/bls12-381/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here diff --git a/internal/backend/bls24-315/cs/r1cs.go b/internal/backend/bls24-315/cs/r1cs.go index 310007dace..bff53d1547 100644 --- a/internal/backend/bls24-315/cs/r1cs.go +++ b/internal/backend/bls24-315/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bls24_315witness "github.com/consensys/gnark/internal/backend/bls24-315/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here diff --git a/internal/backend/bw6-633/cs/r1cs.go b/internal/backend/bw6-633/cs/r1cs.go index 6a8dc31a2c..a23610b77b 100644 --- a/internal/backend/bw6-633/cs/r1cs.go +++ b/internal/backend/bw6-633/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bw6_633witness "github.com/consensys/gnark/internal/backend/bw6-633/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here diff --git a/internal/backend/bw6-761/cs/r1cs.go b/internal/backend/bw6-761/cs/r1cs.go index 180793ea2c..478f84d047 100644 --- a/internal/backend/bw6-761/cs/r1cs.go +++ b/internal/backend/bw6-761/cs/r1cs.go @@ -42,7 +42,7 @@ import ( bw6_761witness "github.com/consensys/gnark/internal/backend/bw6-761/witness" ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here diff --git a/internal/generator/backend/template/representations/r1cs.go.tmpl b/internal/generator/backend/template/representations/r1cs.go.tmpl index 91a5b48dd8..4f7c96be2d 100644 --- a/internal/generator/backend/template/representations/r1cs.go.tmpl +++ b/internal/generator/backend/template/representations/r1cs.go.tmpl @@ -24,7 +24,7 @@ import ( ) -// R1CS decsribes a set of R1CS constraint +// R1CS describes a set of R1CS constraint type R1CS struct { compiled.R1CS Coefficients []fr.Element // R1C coefficients indexes point here