From 78b7dc93dd126b3036e72b527383cc5491e7fc39 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 12 Feb 2024 20:41:35 -0600 Subject: [PATCH] adding usefull traces --- codex/node.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex/node.nim b/codex/node.nim index 99081443..57c00af7 100644 --- a/codex/node.nim +++ b/codex/node.nim @@ -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"