@aztec/simulator 4.1.0-rc.4 → 4.2.0-nightly.20260319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,10 +120,10 @@ export class CircuitRecording {
120
120
  if (!fn || typeof fn !== 'function') {
121
121
  throw new Error(`Oracle method ${name} not found when setting up recording callback`);
122
122
  }
123
- const isExternalCall = name === 'privateCallPrivateFunction';
123
+ const isExternalCall = name === 'aztec_prv_callPrivateFunction';
124
124
  recordingCallback[name] = (...args)=>{
125
125
  const timer = new Timer();
126
- // If we're entering another circuit via `privateCallPrivateFunction`, we increase the stack depth and set the
126
+ // If we're entering another circuit via `aztec_prv_callPrivateFunction`, we increase the stack depth and set the
127
127
  // newCircuit variable to ensure we are creating a new recording object.
128
128
  if (isExternalCall) {
129
129
  this.stackDepth++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/simulator",
3
- "version": "4.1.0-rc.4",
3
+ "version": "4.2.0-nightly.20260319",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./server": "./dest/server.js",
@@ -64,26 +64,26 @@
64
64
  ]
65
65
  },
66
66
  "dependencies": {
67
- "@aztec/constants": "4.1.0-rc.4",
68
- "@aztec/foundation": "4.1.0-rc.4",
69
- "@aztec/native": "4.1.0-rc.4",
70
- "@aztec/noir-acvm_js": "4.1.0-rc.4",
71
- "@aztec/noir-noirc_abi": "4.1.0-rc.4",
72
- "@aztec/noir-protocol-circuits-types": "4.1.0-rc.4",
73
- "@aztec/noir-types": "4.1.0-rc.4",
74
- "@aztec/protocol-contracts": "4.1.0-rc.4",
75
- "@aztec/stdlib": "4.1.0-rc.4",
76
- "@aztec/telemetry-client": "4.1.0-rc.4",
77
- "@aztec/world-state": "4.1.0-rc.4",
67
+ "@aztec/constants": "4.2.0-nightly.20260319",
68
+ "@aztec/foundation": "4.2.0-nightly.20260319",
69
+ "@aztec/native": "4.2.0-nightly.20260319",
70
+ "@aztec/noir-acvm_js": "4.2.0-nightly.20260319",
71
+ "@aztec/noir-noirc_abi": "4.2.0-nightly.20260319",
72
+ "@aztec/noir-protocol-circuits-types": "4.2.0-nightly.20260319",
73
+ "@aztec/noir-types": "4.2.0-nightly.20260319",
74
+ "@aztec/protocol-contracts": "4.2.0-nightly.20260319",
75
+ "@aztec/stdlib": "4.2.0-nightly.20260319",
76
+ "@aztec/telemetry-client": "4.2.0-nightly.20260319",
77
+ "@aztec/world-state": "4.2.0-nightly.20260319",
78
78
  "lodash.clonedeep": "^4.5.0",
79
79
  "lodash.merge": "^4.6.2",
80
80
  "tslib": "^2.4.0"
81
81
  },
82
82
  "devDependencies": {
83
- "@aztec/kv-store": "4.1.0-rc.4",
84
- "@aztec/merkle-tree": "4.1.0-rc.4",
85
- "@aztec/noir-contracts.js": "4.1.0-rc.4",
86
- "@aztec/noir-test-contracts.js": "4.1.0-rc.4",
83
+ "@aztec/kv-store": "4.2.0-nightly.20260319",
84
+ "@aztec/merkle-tree": "4.2.0-nightly.20260319",
85
+ "@aztec/noir-contracts.js": "4.2.0-nightly.20260319",
86
+ "@aztec/noir-test-contracts.js": "4.2.0-nightly.20260319",
87
87
  "@jest/globals": "^30.0.0",
88
88
  "@types/jest": "^30.0.0",
89
89
  "@types/lodash.clonedeep": "^4.5.7",
@@ -161,11 +161,11 @@ export class CircuitRecorder {
161
161
  throw new Error(`Oracle method ${name} not found when setting up recording callback`);
162
162
  }
163
163
 
164
- const isExternalCall = (name as keyof ACIRCallback) === 'privateCallPrivateFunction';
164
+ const isExternalCall = (name as keyof ACIRCallback) === 'aztec_prv_callPrivateFunction';
165
165
 
166
166
  recordingCallback[name as keyof ACIRCallback] = (...args: ForeignCallInput[]): ReturnType<typeof fn> => {
167
167
  const timer = new Timer();
168
- // If we're entering another circuit via `privateCallPrivateFunction`, we increase the stack depth and set the
168
+ // If we're entering another circuit via `aztec_prv_callPrivateFunction`, we increase the stack depth and set the
169
169
  // newCircuit variable to ensure we are creating a new recording object.
170
170
  if (isExternalCall) {
171
171
  this.stackDepth++;