Skip to content

Commit

Permalink
fix: minor annoyances (#2115)
Browse files Browse the repository at this point in the history
Fixes #2113 and #2114 

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
  • Loading branch information
LHerskind authored Sep 8, 2023
1 parent a3d6459 commit a147582
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
) {}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a147582

Please sign in to comment.