Skip to content

Commit ceab7d7

Browse files
authored
Merge pull request #70 from worldcoin/forerunner/fix-release
Fix Release CI
2 parents 07bd921 + 839a1eb commit ceab7d7

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module worldcoin/gnark-mbu
22

33
go 1.22.0
44

5-
toolchain go1.22.2
5+
toolchain go1.23.3
66

77
require (
88
github.com/consensys/gnark v0.8.0

main.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"math/big"
88
"os"
99
"os/signal"
10+
"time"
1011

1112
"worldcoin/gnark-mbu/logging"
1213
"worldcoin/gnark-mbu/prover"
@@ -289,12 +290,20 @@ func main() {
289290
return fmt.Errorf("invalid mode: %s", mode)
290291
}
291292

292-
logging.Logger().Info().Msg("Reading proving system from file")
293+
logging.Logger().Info().Msg("Loading proving system from file")
294+
start := time.Now()
293295
ps, err := prover.ReadSystemFromFile(keys)
294296
if err != nil {
295297
return err
296298
}
297-
logging.Logger().Info().Uint32("treeDepth", ps.TreeDepth).Uint32("batchSize", ps.BatchSize).Msg("Read proving system")
299+
duration := time.Since(start)
300+
logging.Logger().
301+
Info().
302+
Uint32("treeDepth", ps.TreeDepth).
303+
Uint32("batchSize", ps.BatchSize).
304+
Dur("duration", duration).
305+
Msg("Proving system loaded")
306+
298307
config := server.Config{
299308
ProverAddress: context.String("prover-address"),
300309
MetricsAddress: context.String("metrics-address"),

0 commit comments

Comments
 (0)