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