@aztec/simulator 3.0.0-nightly.20250905 → 4.0.0-nightly.20250907

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.
@@ -1 +1 @@
1
- {"version":3,"file":"bulk_test.d.ts","sourceRoot":"","sources":["../../../src/public/fixtures/bulk_test.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,wBAAwB,EAChC,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,gBAAgB,iDAsD1C;AAED,wBAAsB,YAAY,CAChC,MAAM,EAAE,wBAAwB,EAChC,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,gBAAgB,iDAgF1C"}
1
+ {"version":3,"file":"bulk_test.d.ts","sourceRoot":"","sources":["../../../src/public/fixtures/bulk_test.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,wBAAwB,EAChC,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,gBAAgB,iDAyD1C;AAED,wBAAsB,YAAY,CAChC,MAAM,EAAE,wBAAwB,EAChC,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,gBAAgB,iDAkF1C"}
@@ -5,6 +5,8 @@ export async function bulkTest(tester, logger, avmTestContractArtifact) {
5
5
  const timer = new Timer();
6
6
  const deployer = AztecAddress.fromNumber(42);
7
7
  const avmTestContract = await tester.registerAndDeployContract(/*constructorArgs=*/ [], deployer, avmTestContractArtifact);
8
+ // Needed since we invoke the Fee Juice Contract in the bulk test.registerFeeJuiceContract
9
+ await tester.registerFeeJuiceContract();
8
10
  // Get a deployed contract instance to pass to the contract
9
11
  // for it to use as "expected" values when testing contract instance retrieval.
10
12
  const expectContractInstance = avmTestContract;
@@ -72,6 +74,8 @@ export async function megaBulkTest(tester, logger, avmTestContractArtifact) {
72
74
  const timer = new Timer();
73
75
  const deployer = AztecAddress.fromNumber(42);
74
76
  const avmTestContract = await tester.registerAndDeployContract(/*constructorArgs=*/ [], deployer, avmTestContractArtifact);
77
+ // Needed since we invoke the Fee Juice Contract in the bulk test.registerFeeJuiceContract
78
+ await tester.registerFeeJuiceContract();
75
79
  // Get a deployed contract instance to pass to the contract
76
80
  // for it to use as "expected" values when testing contract instance retrieval.
77
81
  const expectContractInstance = avmTestContract;
@@ -255,18 +259,6 @@ export async function megaBulkTest(tester, logger, avmTestContractArtifact) {
255
259
  9,
256
260
  10
257
261
  ].map((x)=>new Fr(x));
258
- const argsField15 = [
259
- 16,
260
- 2,
261
- 3,
262
- 4,
263
- 5,
264
- 6,
265
- 7,
266
- 8,
267
- 9,
268
- 10
269
- ].map((x)=>new Fr(x));
270
262
  const argsU8 = [
271
263
  1,
272
264
  2,
@@ -364,11 +356,6 @@ export async function megaBulkTest(tester, logger, avmTestContractArtifact) {
364
356
  address: avmTestContract.address,
365
357
  fnName: 'bulk_testing',
366
358
  args: genArgs(argsField14)
367
- },
368
- {
369
- address: avmTestContract.address,
370
- fnName: 'bulk_testing',
371
- args: genArgs(argsField15)
372
359
  }
373
360
  ], /*teardownCall=*/ undefined, /*feePayer*/ undefined, /*privateInsertions=*/ {
374
361
  nonRevertible: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/simulator",
3
- "version": "3.0.0-nightly.20250905",
3
+ "version": "4.0.0-nightly.20250907",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./server": "./dest/server.js",
@@ -63,25 +63,25 @@
63
63
  ]
64
64
  },
65
65
  "dependencies": {
66
- "@aztec/constants": "3.0.0-nightly.20250905",
67
- "@aztec/foundation": "3.0.0-nightly.20250905",
68
- "@aztec/noir-acvm_js": "3.0.0-nightly.20250905",
69
- "@aztec/noir-noirc_abi": "3.0.0-nightly.20250905",
70
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250905",
71
- "@aztec/noir-types": "3.0.0-nightly.20250905",
72
- "@aztec/protocol-contracts": "3.0.0-nightly.20250905",
73
- "@aztec/stdlib": "3.0.0-nightly.20250905",
74
- "@aztec/telemetry-client": "3.0.0-nightly.20250905",
75
- "@aztec/world-state": "3.0.0-nightly.20250905",
66
+ "@aztec/constants": "4.0.0-nightly.20250907",
67
+ "@aztec/foundation": "4.0.0-nightly.20250907",
68
+ "@aztec/noir-acvm_js": "4.0.0-nightly.20250907",
69
+ "@aztec/noir-noirc_abi": "4.0.0-nightly.20250907",
70
+ "@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20250907",
71
+ "@aztec/noir-types": "4.0.0-nightly.20250907",
72
+ "@aztec/protocol-contracts": "4.0.0-nightly.20250907",
73
+ "@aztec/stdlib": "4.0.0-nightly.20250907",
74
+ "@aztec/telemetry-client": "4.0.0-nightly.20250907",
75
+ "@aztec/world-state": "4.0.0-nightly.20250907",
76
76
  "lodash.clonedeep": "^4.5.0",
77
77
  "lodash.merge": "^4.6.2",
78
78
  "tslib": "^2.4.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@aztec/kv-store": "3.0.0-nightly.20250905",
82
- "@aztec/merkle-tree": "3.0.0-nightly.20250905",
83
- "@aztec/noir-contracts.js": "3.0.0-nightly.20250905",
84
- "@aztec/noir-test-contracts.js": "3.0.0-nightly.20250905",
81
+ "@aztec/kv-store": "4.0.0-nightly.20250907",
82
+ "@aztec/merkle-tree": "4.0.0-nightly.20250907",
83
+ "@aztec/noir-contracts.js": "4.0.0-nightly.20250907",
84
+ "@aztec/noir-test-contracts.js": "4.0.0-nightly.20250907",
85
85
  "@jest/globals": "^30.0.0",
86
86
  "@types/jest": "^30.0.0",
87
87
  "@types/lodash.clonedeep": "^4.5.7",
@@ -20,6 +20,9 @@ export async function bulkTest(
20
20
  avmTestContractArtifact,
21
21
  );
22
22
 
23
+ // Needed since we invoke the Fee Juice Contract in the bulk test.registerFeeJuiceContract
24
+ await tester.registerFeeJuiceContract();
25
+
23
26
  // Get a deployed contract instance to pass to the contract
24
27
  // for it to use as "expected" values when testing contract instance retrieval.
25
28
  const expectContractInstance = avmTestContract;
@@ -78,6 +81,10 @@ export async function megaBulkTest(
78
81
  deployer,
79
82
  avmTestContractArtifact,
80
83
  );
84
+
85
+ // Needed since we invoke the Fee Juice Contract in the bulk test.registerFeeJuiceContract
86
+ await tester.registerFeeJuiceContract();
87
+
81
88
  // Get a deployed contract instance to pass to the contract
82
89
  // for it to use as "expected" values when testing contract instance retrieval.
83
90
  const expectContractInstance = avmTestContract;
@@ -96,7 +103,6 @@ export async function megaBulkTest(
96
103
  const argsField12 = [13, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(x => new Fr(x));
97
104
  const argsField13 = [14, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(x => new Fr(x));
98
105
  const argsField14 = [15, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(x => new Fr(x));
99
- const argsField15 = [16, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(x => new Fr(x));
100
106
  const argsU8 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(x => new Fr(x));
101
107
  const genArgs = (argsField: Fr[]) => [
102
108
  argsField,
@@ -129,7 +135,6 @@ export async function megaBulkTest(
129
135
  { address: avmTestContract.address, fnName: 'bulk_testing', args: genArgs(argsField12) },
130
136
  { address: avmTestContract.address, fnName: 'bulk_testing', args: genArgs(argsField13) },
131
137
  { address: avmTestContract.address, fnName: 'bulk_testing', args: genArgs(argsField14) },
132
- { address: avmTestContract.address, fnName: 'bulk_testing', args: genArgs(argsField15) },
133
138
  ],
134
139
  /*teardownCall=*/ undefined,
135
140
  /*feePayer*/ undefined,