@aztec/cli 3.0.0-nightly.20251110 → 3.0.0-nightly.20251111

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.
@@ -15,6 +15,7 @@ export type L2ChainConfig = L1ContractsConfig & Omit<SlasherConfig, 'slashValida
15
15
  autoUpdate: SharedNodeConfig['autoUpdate'];
16
16
  autoUpdateUrl?: string;
17
17
  maxTxPoolSize: number;
18
+ publicMetricsOptOut: boolean;
18
19
  publicIncludeMetrics?: string[];
19
20
  publicMetricsCollectorUrl?: string;
20
21
  publicMetricsCollectFrom?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"chain_l2_config.d.ts","sourceRoot":"","sources":["../../src/config/chain_l2_config.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAYrE,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,IAAI,CAAC,aAAa,EAAE,sBAAsB,GAAG,uBAAuB,CAAC,GAAG;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;I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;AAEF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,YAAY,GAAG,aAAa,GAAG,SAAS,CAgBrF;AAMD,wBAAgB,gCAAgC,CAAC,WAAW,EAAE,YAAY,QAsGzE"}
@@ -58,7 +58,8 @@ export const stagingIgnitionL2ChainConfig = {
58
58
  ],
59
59
  autoUpdate: 'config-and-version',
60
60
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
61
- maxTxPoolSize: 100_000_000,
61
+ maxTxPoolSize: 0,
62
+ publicMetricsOptOut: false,
62
63
  publicIncludeMetrics,
63
64
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
64
65
  publicMetricsCollectFrom: [
@@ -123,6 +124,7 @@ export const stagingPublicL2ChainConfig = {
123
124
  ],
124
125
  autoUpdate: 'config-and-version',
125
126
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
127
+ publicMetricsOptOut: false,
126
128
  publicIncludeMetrics,
127
129
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
128
130
  publicMetricsCollectFrom: [
@@ -160,6 +162,7 @@ export const nextNetL2ChainConfig = {
160
162
  snapshotsUrls: [],
161
163
  autoUpdate: 'config-and-version',
162
164
  autoUpdateUrl: '',
165
+ publicMetricsOptOut: true,
163
166
  publicIncludeMetrics,
164
167
  publicMetricsCollectorUrl: '',
165
168
  publicMetricsCollectFrom: [
@@ -200,6 +203,7 @@ export const testnetL2ChainConfig = {
200
203
  autoUpdate: 'config-and-version',
201
204
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
202
205
  maxTxPoolSize: 100_000_000,
206
+ publicMetricsOptOut: false,
203
207
  publicIncludeMetrics,
204
208
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
205
209
  publicMetricsCollectFrom: [
@@ -267,12 +271,14 @@ export const mainnetL2ChainConfig = {
267
271
  ],
268
272
  autoUpdate: 'notify',
269
273
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-mainnet/auto-update/mainnet.json',
270
- maxTxPoolSize: 100_000_000,
274
+ maxTxPoolSize: 0,
275
+ publicMetricsOptOut: true,
271
276
  publicIncludeMetrics,
272
277
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
273
278
  publicMetricsCollectFrom: [
274
279
  'sequencer'
275
280
  ],
281
+ blobAllowEmptySources: true,
276
282
  /** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
277
283
  /** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 72,
278
284
  /** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
@@ -284,7 +290,7 @@ export const mainnetL2ChainConfig = {
284
290
  slashingRoundSizeInEpochs: 4,
285
291
  slashingExecutionDelayInRounds: 28,
286
292
  slashingLifetimeInRounds: 34,
287
- slashingVetoer: EthAddress.ZERO,
293
+ slashingVetoer: EthAddress.fromString('0xBbB4aF368d02827945748b28CD4b2D42e4A37480'),
288
294
  slashingOffsetInRounds: 2,
289
295
  slashingDisableDuration: 259_200,
290
296
  slasherFlavor: 'tally',
@@ -330,6 +336,7 @@ export const devnetL2ChainConfig = {
330
336
  snapshotsUrls: [],
331
337
  autoUpdate: 'config-and-version',
332
338
  autoUpdateUrl: '',
339
+ publicMetricsOptOut: true,
333
340
  publicIncludeMetrics,
334
341
  publicMetricsCollectorUrl: '',
335
342
  publicMetricsCollectFrom: [
@@ -432,6 +439,7 @@ export function enrichEnvironmentWithChainConfig(networkName) {
432
439
  if (config.publicMetricsCollectFrom) {
433
440
  enrichVar('PUBLIC_OTEL_COLLECT_FROM', config.publicMetricsCollectFrom.join(','));
434
441
  }
442
+ enrichVar('PUBLIC_OTEL_OPT_OUT', config.publicMetricsOptOut.toString());
435
443
  // Deployment stuff
436
444
  enrichVar('ETHEREUM_SLOT_DURATION', config.ethereumSlotDuration.toString());
437
445
  enrichVar('AZTEC_SLOT_DURATION', config.aztecSlotDuration.toString());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "3.0.0-nightly.20251110",
3
+ "version": "3.0.0-nightly.20251111",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./contracts": "./dest/cmds/contracts/index.js",
@@ -71,21 +71,21 @@
71
71
  ]
72
72
  },
73
73
  "dependencies": {
74
- "@aztec/accounts": "3.0.0-nightly.20251110",
75
- "@aztec/archiver": "3.0.0-nightly.20251110",
76
- "@aztec/aztec.js": "3.0.0-nightly.20251110",
77
- "@aztec/constants": "3.0.0-nightly.20251110",
78
- "@aztec/entrypoints": "3.0.0-nightly.20251110",
79
- "@aztec/ethereum": "3.0.0-nightly.20251110",
80
- "@aztec/foundation": "3.0.0-nightly.20251110",
81
- "@aztec/l1-artifacts": "3.0.0-nightly.20251110",
82
- "@aztec/node-keystore": "3.0.0-nightly.20251110",
83
- "@aztec/node-lib": "3.0.0-nightly.20251110",
84
- "@aztec/p2p": "3.0.0-nightly.20251110",
85
- "@aztec/protocol-contracts": "3.0.0-nightly.20251110",
86
- "@aztec/stdlib": "3.0.0-nightly.20251110",
87
- "@aztec/test-wallet": "3.0.0-nightly.20251110",
88
- "@aztec/world-state": "3.0.0-nightly.20251110",
74
+ "@aztec/accounts": "3.0.0-nightly.20251111",
75
+ "@aztec/archiver": "3.0.0-nightly.20251111",
76
+ "@aztec/aztec.js": "3.0.0-nightly.20251111",
77
+ "@aztec/constants": "3.0.0-nightly.20251111",
78
+ "@aztec/entrypoints": "3.0.0-nightly.20251111",
79
+ "@aztec/ethereum": "3.0.0-nightly.20251111",
80
+ "@aztec/foundation": "3.0.0-nightly.20251111",
81
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251111",
82
+ "@aztec/node-keystore": "3.0.0-nightly.20251111",
83
+ "@aztec/node-lib": "3.0.0-nightly.20251111",
84
+ "@aztec/p2p": "3.0.0-nightly.20251111",
85
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251111",
86
+ "@aztec/stdlib": "3.0.0-nightly.20251111",
87
+ "@aztec/test-wallet": "3.0.0-nightly.20251111",
88
+ "@aztec/world-state": "3.0.0-nightly.20251111",
89
89
  "@ethersproject/wallet": "^5.8.0",
90
90
  "@iarna/toml": "^2.2.5",
91
91
  "@libp2p/peer-id-factory": "^3.0.4",
@@ -114,15 +114,15 @@
114
114
  "typescript": "^5.3.3"
115
115
  },
116
116
  "peerDependencies": {
117
- "@aztec/accounts": "3.0.0-nightly.20251110",
118
- "@aztec/bb-prover": "3.0.0-nightly.20251110",
119
- "@aztec/ethereum": "3.0.0-nightly.20251110",
120
- "@aztec/l1-artifacts": "3.0.0-nightly.20251110",
121
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251110",
122
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251110",
123
- "@aztec/noir-test-contracts.js": "3.0.0-nightly.20251110",
124
- "@aztec/protocol-contracts": "3.0.0-nightly.20251110",
125
- "@aztec/stdlib": "3.0.0-nightly.20251110"
117
+ "@aztec/accounts": "3.0.0-nightly.20251111",
118
+ "@aztec/bb-prover": "3.0.0-nightly.20251111",
119
+ "@aztec/ethereum": "3.0.0-nightly.20251111",
120
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251111",
121
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251111",
122
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251111",
123
+ "@aztec/noir-test-contracts.js": "3.0.0-nightly.20251111",
124
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251111",
125
+ "@aztec/stdlib": "3.0.0-nightly.20251111"
126
126
  },
127
127
  "files": [
128
128
  "dest",
@@ -28,6 +28,7 @@ export type L2ChainConfig = L1ContractsConfig &
28
28
  autoUpdate: SharedNodeConfig['autoUpdate'];
29
29
  autoUpdateUrl?: string;
30
30
  maxTxPoolSize: number;
31
+ publicMetricsOptOut: boolean;
31
32
  publicIncludeMetrics?: string[];
32
33
  publicMetricsCollectorUrl?: string;
33
34
  publicMetricsCollectFrom?: string[];
@@ -105,7 +106,8 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
105
106
  snapshotsUrls: [`${SNAPSHOTS_URL}/staging-ignition/`],
106
107
  autoUpdate: 'config-and-version',
107
108
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
108
- maxTxPoolSize: 100_000_000, // 100MB
109
+ maxTxPoolSize: 0,
110
+ publicMetricsOptOut: false,
109
111
  publicIncludeMetrics,
110
112
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
111
113
  publicMetricsCollectFrom: ['sequencer'],
@@ -133,7 +135,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
133
135
  slashAmountLarge: 50_000n * 10n ** 18n,
134
136
  slashingOffsetInRounds: 2,
135
137
  slasherFlavor: 'tally',
136
- slashingVetoer: EthAddress.ZERO, // TODO TMNT-329
138
+ slashingVetoer: EthAddress.ZERO,
137
139
 
138
140
  /** The mana target for the rollup */
139
141
  manaTarget: 0n,
@@ -185,6 +187,7 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
185
187
  snapshotsUrls: [`${SNAPSHOTS_URL}/staging-public/`],
186
188
  autoUpdate: 'config-and-version',
187
189
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
190
+ publicMetricsOptOut: false,
188
191
  publicIncludeMetrics,
189
192
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
190
193
  publicMetricsCollectFrom: ['sequencer'],
@@ -238,6 +241,7 @@ export const nextNetL2ChainConfig: L2ChainConfig = {
238
241
  snapshotsUrls: [],
239
242
  autoUpdate: 'config-and-version',
240
243
  autoUpdateUrl: '',
244
+ publicMetricsOptOut: true,
241
245
  publicIncludeMetrics,
242
246
  publicMetricsCollectorUrl: '',
243
247
  publicMetricsCollectFrom: [''],
@@ -292,6 +296,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
292
296
  autoUpdate: 'config-and-version',
293
297
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
294
298
  maxTxPoolSize: 100_000_000, // 100MB
299
+ publicMetricsOptOut: false,
295
300
  publicIncludeMetrics,
296
301
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
297
302
  publicMetricsCollectFrom: ['sequencer'],
@@ -378,10 +383,12 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
378
383
  snapshotsUrls: [`${SNAPSHOTS_URL}/mainnet/`],
379
384
  autoUpdate: 'notify',
380
385
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-mainnet/auto-update/mainnet.json',
381
- maxTxPoolSize: 100_000_000, // 100MB
386
+ maxTxPoolSize: 0,
387
+ publicMetricsOptOut: true,
382
388
  publicIncludeMetrics,
383
389
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
384
390
  publicMetricsCollectFrom: ['sequencer'],
391
+ blobAllowEmptySources: true,
385
392
 
386
393
  /** How many seconds an L1 slot lasts. */
387
394
  ethereumSlotDuration: 12,
@@ -402,7 +409,7 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
402
409
  slashingRoundSizeInEpochs: 4,
403
410
  slashingExecutionDelayInRounds: 28,
404
411
  slashingLifetimeInRounds: 34,
405
- slashingVetoer: EthAddress.ZERO, // TODO TMNT-329
412
+ slashingVetoer: EthAddress.fromString('0xBbB4aF368d02827945748b28CD4b2D42e4A37480'),
406
413
  slashingOffsetInRounds: 2,
407
414
 
408
415
  slashingDisableDuration: 259_200, // 3 days
@@ -462,6 +469,7 @@ export const devnetL2ChainConfig: L2ChainConfig = {
462
469
  snapshotsUrls: [],
463
470
  autoUpdate: 'config-and-version',
464
471
  autoUpdateUrl: '',
472
+ publicMetricsOptOut: true,
465
473
  publicIncludeMetrics,
466
474
  publicMetricsCollectorUrl: '',
467
475
  publicMetricsCollectFrom: [''],
@@ -582,6 +590,8 @@ export function enrichEnvironmentWithChainConfig(networkName: NetworkNames) {
582
590
  enrichVar('PUBLIC_OTEL_COLLECT_FROM', config.publicMetricsCollectFrom.join(','));
583
591
  }
584
592
 
593
+ enrichVar('PUBLIC_OTEL_OPT_OUT', config.publicMetricsOptOut.toString());
594
+
585
595
  // Deployment stuff
586
596
  enrichVar('ETHEREUM_SLOT_DURATION', config.ethereumSlotDuration.toString());
587
597
  enrichVar('AZTEC_SLOT_DURATION', config.aztecSlotDuration.toString());