From 164ca8be6042e04ddce616257c4d571b34794e56 Mon Sep 17 00:00:00 2001 From: LHerskind Date: Fri, 8 Sep 2023 08:40:27 +0000 Subject: [PATCH] fix: minor annoyances --- .../circuits/rollup/base/native_base_rollup_circuit.cpp | 4 +++- .../sequencer-client/src/block_builder/solo_block_builder.ts | 2 +- yarn-project/sequencer-client/src/publisher/l1-publisher.ts | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/circuits/cpp/src/aztec3/circuits/rollup/base/native_base_rollup_circuit.cpp b/circuits/cpp/src/aztec3/circuits/rollup/base/native_base_rollup_circuit.cpp index f27e119755c..efed2fb3d5d 100644 --- a/circuits/cpp/src/aztec3/circuits/rollup/base/native_base_rollup_circuit.cpp +++ b/circuits/cpp/src/aztec3/circuits/rollup/base/native_base_rollup_circuit.cpp @@ -274,7 +274,9 @@ AppendOnlySnapshot check_nullifier_tree_non_membership_and_insert_to_tree(DummyB if (!(is_less_than_nullifier && is_next_greater_than)) { if (low_nullifier_preimage.next_index != 0 && low_nullifier_preimage.next_value != 0) { builder.do_assert(false, - format("Nullifier is not in the correct range. \n ", + format("Nullifier (", + nullifier, + ") is not in the correct range. \n ", "is_less_than_nullifier ", is_less_than_nullifier, "\n is_next_greater_than ", diff --git a/yarn-project/sequencer-client/src/block_builder/solo_block_builder.ts b/yarn-project/sequencer-client/src/block_builder/solo_block_builder.ts index b5d6093953e..bd9ef821a12 100644 --- a/yarn-project/sequencer-client/src/block_builder/solo_block_builder.ts +++ b/yarn-project/sequencer-client/src/block_builder/solo_block_builder.ts @@ -64,7 +64,7 @@ export class SoloBlockBuilder implements BlockBuilder { protected vks: VerificationKeys, protected simulator: RollupSimulator, protected prover: RollupProver, - protected debug = createDebugLogger('aztec:sequencer'), + protected debug = createDebugLogger('aztec:sequencer:solo-block-builder'), ) {} /** diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index 026c698edd7..e22880c6cc6 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -93,7 +93,7 @@ export class L1Publisher implements L2BlockReceiver { private interruptableSleep = new InterruptableSleep(); private sleepTimeMs: number; private interrupted = false; - private log = createDebugLogger('aztec:sequencer'); + private log = createDebugLogger('aztec:sequencer:publisher'); constructor(private txSender: L1PublisherTxSender, config?: PublisherConfig) { this.sleepTimeMs = config?.l1BlockPublishRetryIntervalMS ?? 60_000;