Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Logger, type LoggerBindings, createLogger, logLevel } from '@aztec/foundation/log';
import { type Logger, type LoggerBindings, createLogger } from '@aztec/foundation/log';
import { sleep } from '@aztec/foundation/sleep';
import { type CancellationToken, avmSimulate, cancelSimulation, createCancellationToken } from '@aztec/native';
import { ProtocolContractsList } from '@aztec/protocol-contracts';
Expand Down Expand Up @@ -100,8 +100,7 @@ export class CppPublicTxSimulator extends PublicTxSimulator implements PublicTxS
inputBuffer,
contractProvider,
wsCppHandle,
logLevel,
// TODO: re-enable logging
this.log.level,
undefined,
this.cancellationToken,
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Logger, type LoggerBindings, createLogger, logLevel } from '@aztec/foundation/log';
import { type Logger, type LoggerBindings, createLogger } from '@aztec/foundation/log';
import { avmSimulateWithHintedDbs } from '@aztec/native';
import {
AvmCircuitInputs,
Expand Down Expand Up @@ -75,7 +75,7 @@ export class CppPublicTxSimulatorHintedDbs extends PublicTxSimulator implements

let resultBuffer: Buffer;
try {
resultBuffer = await avmSimulateWithHintedDbs(inputBuffer, logLevel);
resultBuffer = await avmSimulateWithHintedDbs(inputBuffer, this.log.level);
} catch (error: any) {
throw new SimulationError(`C++ hinted simulation failed: ${error.message}`, []);
}
Expand Down
Loading