Skip to content

Commit 30fadea

Browse files
committed
Removed verbose in-circuit logs
1 parent ab51068 commit 30fadea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/protocol/src/prover/block/BlockProver.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
CompilableModule,
1414
CompileArtifact,
1515
CompileRegistry,
16+
log,
1617
MAX_FIELD,
1718
PlainZkProgram,
1819
provableMethod,
@@ -599,7 +600,7 @@ export class BlockProverProgrammable extends ZkProgrammable<
599600
);
600601
const skipTransactionProofVerification = isEmptyTransition;
601602
const verifyTransactionProof = isEmptyTransition.not();
602-
Provable.log("VerifyIf TxProof", verifyTransactionProof);
603+
log.provable.debug("VerifyIf TxProof", verifyTransactionProof);
603604
transactionProof.verifyIf(verifyTransactionProof);
604605

605606
// 2. Execute beforeBlock hooks
@@ -714,7 +715,7 @@ export class BlockProverProgrammable extends ZkProgrammable<
714715
// otherwise we can input a dummy proof
715716
const batchesEmpty = state.pendingSTBatches.commitment.equals(Field(0));
716717
const verifyStProof = deferSTProof.not().and(batchesEmpty.not());
717-
Provable.log("Verify STProof", verifyStProof);
718+
log.provable.debug("Verify STProof", verifyStProof);
718719
stateTransitionProof.verifyIf(verifyStProof);
719720

720721
// Apply STProof if not deferred

0 commit comments

Comments
 (0)