Skip to content

Commit 28e54ac

Browse files
author
colinlyguo
committed
fix a typo and a clean up
1 parent adac040 commit 28e54ac

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

coordinator/internal/logic/verifier/verifier.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,6 @@ func (v *Verifier) VerifyBundleProof(proof *message.OpenVMBundleProof, forkName
117117
return libzkp.VerifyBundleProof(string(buf), forkName), nil
118118
}
119119

120-
// func (v *Verifier) ReadVK(filePat string) (string, error) {
121-
122-
// f, err := os.Open(filepath.Clean(filePat))
123-
// if err != nil {
124-
// return "", err
125-
// }
126-
// byt, err := io.ReadAll(f)
127-
// if err != nil {
128-
// return "", err
129-
// }
130-
// return base64.StdEncoding.EncodeToString(byt), nil
131-
// }
132-
133120
func (v *Verifier) loadOpenVMVks(cfg config.AssetConfig) error {
134121

135122
vkFileName := cfg.Vkfile

coordinator/internal/orm/prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func (o *ProverTask) UpdateProverTaskProvingStatusAndFailureType(ctx context.Con
269269
return nil
270270
}
271271

272-
// UpdateProverTaskProvingStatusAndFailureType updates the proving_status of a specific ProverTask record.
272+
// UpdateProverTaskAssignedTime updates the assigned_at time of a specific ProverTask record.
273273
func (o *ProverTask) UpdateProverTaskAssignedTime(ctx context.Context, uuid uuid.UUID, t time.Time, dbTX ...*gorm.DB) error {
274274
db := o.db
275275
if len(dbTX) > 0 && dbTX[0] != nil {

0 commit comments

Comments
 (0)