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

fix: typos #992

Merged
merged 4 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/rollup/circuit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func TestCircuitInclusionProof(t *testing.T) {

type circuitUpdateAccount Circuit

// Circuit implements part of the rollup circuit only by delcaring a subset of the constraints
// Circuit implements part of the rollup circuit only by declaring a subset of the constraints
func (t *circuitUpdateAccount) Define(api frontend.API) error {

if err := (*Circuit)(t).postInit(api); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion frontend/cs/r1cs/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func init() {
tVariable = reflect.ValueOf(struct{ A frontend.Variable }{}).FieldByName("A").Type()
}

// Compile constructs a rank-1 constraint sytem
// Compile constructs a rank-1 constraint system
func (builder *builder) Compile() (constraint.ConstraintSystem, error) {
// TODO if already compiled, return builder.cs object
log := logger.Logger()
Expand Down
2 changes: 1 addition & 1 deletion internal/stats/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewGlobalStats() *globalStats {
}

func (s *globalStats) Save(path string) error {
fStats, err := os.Create(path) //#nosec G304 -- ignoring internal pacakge s
fStats, err := os.Create(path) //#nosec G304 -- ignoring internal package s
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package logger provides a configurable logger accross gnark components
// Package logger provides a configurable logger across gnark components
//
// The root logger defined by default uses github.com/rs/zerolog with a console writer
package logger
Expand Down
Loading