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

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.
@@ -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());