Skip to content

Commit

Permalink
Remove function name ID in nested calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmon committed Jun 26, 2024
1 parent b637949 commit 883fe66
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions yarn-project/simulator/src/avm/journal/journal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { type Fr } from '@aztec/foundation/fields';
import { type DebugLogger, createDebugLogger } from '@aztec/foundation/log';
import { SerializableContractInstance } from '@aztec/types/contracts';

import { randomInt } from 'crypto';

import { type TracedContractInstance } from '../../public/side_effect_trace.js';
import { type PublicSideEffectTraceInterface } from '../../public/side_effect_trace_interface.js';
import { type AvmExecutionEnvironment } from '../avm_execution_environment.js';
Expand Down Expand Up @@ -260,8 +258,6 @@ export class AvmPersistableStateManager {
nestedEnvironment.address,
nestedEnvironment.temporaryFunctionSelector,
)) ?? `${nestedEnvironment.address}:${nestedEnvironment.temporaryFunctionSelector}`;
// add an identifier to the function name
functionName = `[${randomInt(1000000000)}] ${functionName}`;
createDebugLogger('aztec:simulator:external_calls').verbose(`[AVM] Calling nested function ${functionName}`);
this.trace.traceNestedCall(
nestedState.trace,
Expand Down

0 comments on commit 883fe66

Please sign in to comment.