Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
DavePearce committed Nov 24, 2024
1 parent 71a18a3 commit 309e3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func checkTrace(ir string, cols []tr.RawColumn, schema sc.Schema, cfg checkConfi
for n := cfg.padding.Left; n <= cfg.padding.Right; n++ {
stats := util.NewPerfStats()
trace, errs := builder.Padding(n).Build(cols)
// Log cost of expansion
stats.Log("Expanding trace columns")
// Report any errors
reportErrors(cfg.strict, ir, errs)
Expand Down
4 changes: 1 addition & 3 deletions pkg/corset/compiler.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package corset

import (
"fmt"

"github.com/consensys/go-corset/pkg/hir"
"github.com/consensys/go-corset/pkg/sexp"
)
Expand Down Expand Up @@ -72,7 +70,7 @@ func (p *Compiler) Compile() (*hir.Schema, []SyntaxError) {
}
// Check constraint contexts (e.g. for constraints, lookups, etc)
// Type check constraints
fmt.Println("TODO: type / context checking ...")

// Finally, translate everything and add it to the schema.
return TranslateCircuit(env, p.srcmap, &p.circuit)
}

0 comments on commit 309e3e1

Please sign in to comment.