adding usefull traces
This commit is contained in:
parent
24affef5e6
commit
78b7dc93dd
|
@ -608,11 +608,13 @@ proc onProve(
|
|||
error "Proof verification failed"
|
||||
return failure("Proof verification failed")
|
||||
|
||||
trace "Proof verified successfully"
|
||||
else:
|
||||
without (_, proof) =? await prover.prove(slotIdx, manifest, challenge), err:
|
||||
error "Unable to generate proof", err = err.msg
|
||||
return failure(err)
|
||||
|
||||
trace "Proof generated successfully"
|
||||
success proof.toGroth16Proof()
|
||||
else:
|
||||
warn "Prover not enabled"
|
||||
|
|
Loading…
Reference in New Issue