Skip to content

Commit

Permalink
Fix some typos (#394)
Browse files Browse the repository at this point in the history
* Fix some typos

* Run gofmt (to fix IDE's autofixes)

* Run go generate
  • Loading branch information
jtraglia authored May 4, 2023
1 parent 441dc0f commit 2fc6b96
Show file tree
Hide file tree
Showing 228 changed files with 614 additions and 614 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
go generate ./...
git update-index --assume-unchanged go.mod
git update-index --assume-unchanged go.sum
if [[ -n $(git status --porcelain) ]]; then echo "git repo is dirty after runing go generate -- please don't modify generated files"; echo $(git diff);echo $(git status --porcelain); exit 1; fi
if [[ -n $(git status --porcelain) ]]; then echo "git repo is dirty after running go generate -- please don't modify generated files"; echo $(git diff);echo $(git status --porcelain); exit 1; fi
test:
strategy:
Expand Down
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field

### Perf

- remove unecessary inverse in KZG-verify
- faster GLV scalar decompostion
- remove unnecessary inverse in KZG-verify
- faster GLV scalar decomposition

### Refactor & Docs

Expand All @@ -34,7 +34,7 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field
- remove dead code ([#230](https://github.com/ConsenSys/gnark-crypto/issues/230))
- cosmetic changes ([#197](https://github.com/ConsenSys/gnark-crypto/issues/197))
- replace modulus generated by constants, add zero-alloc SetRandom ([#194](https://github.com/ConsenSys/gnark-crypto/issues/194))
- remove uneeded x86 asm and files ([#192](https://github.com/ConsenSys/gnark-crypto/issues/192))
- remove unneeded x86 asm and files ([#192](https://github.com/ConsenSys/gnark-crypto/issues/192))
- polish readme.md with updated godoc subpackage links ([#235](https://github.com/ConsenSys/gnark-crypto/issues/235))
- acknowledge that inv(0)==0 in comments as a convention ([#233](https://github.com/ConsenSys/gnark-crypto/issues/233))
- added note in pairing godoc - doesn't check inputs are in correct subgroup ([#231](https://github.com/ConsenSys/gnark-crypto/issues/231))
Expand Down Expand Up @@ -137,7 +137,7 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field
- **field:** added UnmarshalJSON and MarshalJSON on fields
- **field:** added field.Text(base) to return field element string in a given base, like big.Int
- **field:** field.SetString now supports 0b 0o 0x prefixes (base 2, 8 and 16)
- **kzg:** test tampered proofs whith quotient set to zero
- **kzg:** test tampered proofs with quotient set to zero
- **bls24:** Fp-Fp2-Fp4-Fp12-Fp24 tower

### Fix
Expand Down Expand Up @@ -265,9 +265,9 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field
- ecc encoder now handles []Element so gnark don't have to
- ecc encoders uses binary.Write and binary.Read to support basic types
- added ecc.Implemented() that returns list of curve fully implemented
- added Reference bencharks for continuous benchmarking. fixes [#54](https://github.com/ConsenSys/gnark-crypto/issues/54)
- added Reference benchmarks for continuous benchmarking. fixes [#54](https://github.com/ConsenSys/gnark-crypto/issues/54)
- added curve level go-fuzz fuzz functions
- **all curves:** faster GT memebership
- **all curves:** faster GT membership
- **twisted Edwards:** tests use gopter, no more hardcoded values
- **bls12-377:** change G2 generator (+Fp QNR) to match other libs
- **bls12-377:** change G1 generator to match other libs
Expand All @@ -294,7 +294,7 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field
- **bw6:** new optimized final exp (hard part)
- **bw6-633:** divide G1 cofactor formula by 4
- **bw6-633:** optimized hard part in final exp
- **fft:** introduced flatten kernel for n==8 and asm impl for butterfly to minimze memory writes
- **fft:** introduced flatten kernel for n==8 and asm impl for butterfly to minimize memory writes

### Refactor

Expand Down Expand Up @@ -344,7 +344,7 @@ The scope of the audit covered `bn254` and `bls12-381` packages (including field

- handle case where numCPU < 4 in precomputeExpTable
- incorrect comment and size returned in twistededwards SetBytes fixes [#34](https://github.com/ConsenSys/gnark-crypto/issues/34)
- point.SetBytes can now be called concurently with same byte slice input
- point.SetBytes can now be called concurrently with same byte slice input

<a name="v0.3.8"></a>

Expand Down
2 changes: 1 addition & 1 deletion ecc/bls12-377/fp/element.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/fp/element_test.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/element.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/element_test.go

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

4 changes: 2 additions & 2 deletions ecc/bls12-377/fr/kzg/kzg.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/kzg/kzg_test.go

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

4 changes: 2 additions & 2 deletions ecc/bls12-377/fr/plookup/vector.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/polynomial/polynomial_test.go

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

4 changes: 2 additions & 2 deletions ecc/bls12-377/fr/polynomial/pool.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/g1.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/g2.go

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

8 changes: 4 additions & 4 deletions ecc/bls12-377/internal/fptower/e12.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/internal/fptower/e2.go

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

2 changes: 1 addition & 1 deletion ecc/bls12-377/internal/fptower/e6.go

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

24 changes: 12 additions & 12 deletions ecc/bls12-377/multiexp.go

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

4 changes: 2 additions & 2 deletions ecc/bls12-377/multiexp_affine.go

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

4 changes: 2 additions & 2 deletions ecc/bls12-377/multiexp_jacobian.go

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

Loading

0 comments on commit 2fc6b96

Please sign in to comment.