diff --git a/yarn-project/simulator/src/client/client_execution_context.ts b/yarn-project/simulator/src/client/client_execution_context.ts index 12e8c814a2ab..c4ac6fafc9b0 100644 --- a/yarn-project/simulator/src/client/client_execution_context.ts +++ b/yarn-project/simulator/src/client/client_execution_context.ts @@ -23,7 +23,7 @@ import { computeUniqueNoteHash, siloNoteHash } from '@aztec/circuits.js/hash'; import { type FunctionAbi, type FunctionArtifact, type NoteSelector, countArgumentsSize } from '@aztec/foundation/abi'; import { AztecAddress } from '@aztec/foundation/aztec-address'; import { Fr } from '@aztec/foundation/fields'; -import { applyStringFormatting, createLogger } from '@aztec/foundation/log'; +import { createLogger } from '@aztec/foundation/log'; import { type NoteData, toACVMWitness } from '../acvm/index.js'; import { type PackedValuesCache } from '../common/packed_values_cache.js'; @@ -544,10 +544,6 @@ export class ClientExecutionContext extends ViewDataOracle { ); } - public override debugLog(message: string, fields: Fr[]) { - this.log.verbose(`${applyStringFormatting(message, fields)}`, { module: `${this.log.module}:debug_log` }); - } - public getDebugFunctionName() { return this.db.getDebugFunctionName(this.contractAddress, this.callContext.functionSelector); } diff --git a/yarn-project/simulator/src/client/view_data_oracle.ts b/yarn-project/simulator/src/client/view_data_oracle.ts index d80b2d91182d..8f561371b4dd 100644 --- a/yarn-project/simulator/src/client/view_data_oracle.ts +++ b/yarn-project/simulator/src/client/view_data_oracle.ts @@ -290,6 +290,10 @@ export class ViewDataOracle extends TypedOracle { } public override debugLog(message: string, fields: Fr[]): void { + // TODO(#10558) Remove this check once the debug log is fixed + if (message.startsWith('Context.note_hashes, after pushing new note hash:')) { + return; + } this.log.verbose(`${applyStringFormatting(message, fields)}`, { module: `${this.log.module}:debug_log` }); }