@aztec/cli 3.0.0-nightly.20250925 → 3.0.0-nightly.20250926

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":"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,EAAU,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAOrE,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,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpC,eAAe,EAAE,OAAO,CAAC;CAC1B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rB,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAuCJ,eAAO,MAAM,4BAA4B,EAAE,aA+E1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAmDxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAqDlC,CAAC;AAIF,wBAAsB,YAAY,CAAC,WAAW,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,gBAgC9E;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAkBpC;AAuBD,wBAAsB,gCAAgC,CAAC,WAAW,EAAE,YAAY,iBA0F/E"}
@@ -5,6 +5,7 @@ import path, { dirname, join } from 'path';
5
5
  import publicIncludeMetrics from '../../public_include_metric_prefixes.json' with {
6
6
  type: 'json'
7
7
  };
8
+ const SNAPSHOT_URL = 'https://pub-f4a8c34d4bb7441ebf8f48d904512180.r2.dev/snapshots';
8
9
  const DefaultSlashConfig = {
9
10
  /** Tally-style slashing */ slasherFlavor: 'tally',
10
11
  /** Allow one round for vetoing */ slashingExecutionDelayInRounds: 1,
@@ -26,11 +27,12 @@ const DefaultSlashConfig = {
26
27
  slashProposeInvalidAttestationsPenalty: DefaultL1ContractsConfig.slashAmountLarge,
27
28
  slashAttestDescendantOfInvalidPenalty: DefaultL1ContractsConfig.slashAmountLarge,
28
29
  slashUnknownPenalty: DefaultL1ContractsConfig.slashAmountSmall,
29
- slashBroadcastedInvalidBlockPenalty: DefaultL1ContractsConfig.slashAmountMedium,
30
+ slashBroadcastedInvalidBlockPenalty: 0n,
30
31
  slashMaxPayloadSize: 50,
31
32
  slashGracePeriodL2Slots: 32 * 2,
32
33
  slashOffenseExpirationRounds: 8,
33
- sentinelEnabled: true
34
+ sentinelEnabled: true,
35
+ slashExecuteRoundsLookBack: 4
34
36
  };
35
37
  export const stagingIgnitionL2ChainConfig = {
36
38
  l1ChainId: 11155111,
@@ -44,7 +46,7 @@ export const stagingIgnitionL2ChainConfig = {
44
46
  seqMinTxsPerBlock: 0,
45
47
  seqMaxTxsPerBlock: 0,
46
48
  realProofs: true,
47
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/staging-ignition/',
49
+ snapshotsUrl: `${SNAPSHOT_URL}/staging-ignition/`,
48
50
  autoUpdate: 'config-and-version',
49
51
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
50
52
  maxTxPoolSize: 100_000_000,
@@ -89,12 +91,13 @@ export const stagingIgnitionL2ChainConfig = {
89
91
  slashProposeInvalidAttestationsPenalty: 50_000n * 10n ** 18n,
90
92
  slashAttestDescendantOfInvalidPenalty: 50_000n * 10n ** 18n,
91
93
  slashUnknownPenalty: 2_000n * 10n ** 18n,
92
- slashBroadcastedInvalidBlockPenalty: 10_000n * 10n ** 18n,
94
+ slashBroadcastedInvalidBlockPenalty: 0n,
93
95
  slashMaxPayloadSize: 50,
94
96
  slashGracePeriodL2Slots: 32 * 4,
95
97
  slashOffenseExpirationRounds: 8,
96
98
  sentinelEnabled: true,
97
- slashingDisableDuration: 5 * 24 * 60 * 60
99
+ slashingDisableDuration: 5 * 24 * 60 * 60,
100
+ slashExecuteRoundsLookBack: 4
98
101
  };
99
102
  export const stagingPublicL2ChainConfig = {
100
103
  l1ChainId: 11155111,
@@ -108,7 +111,7 @@ export const stagingPublicL2ChainConfig = {
108
111
  seqMinTxsPerBlock: 0,
109
112
  seqMaxTxsPerBlock: 20,
110
113
  realProofs: true,
111
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/staging-public/',
114
+ snapshotsUrl: `${SNAPSHOT_URL}/staging-public/`,
112
115
  autoUpdate: 'config-and-version',
113
116
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
114
117
  publicIncludeMetrics,
@@ -146,7 +149,7 @@ export const testnetL2ChainConfig = {
146
149
  seqMinTxsPerBlock: 0,
147
150
  seqMaxTxsPerBlock: 20,
148
151
  realProofs: true,
149
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/testnet/',
152
+ snapshotsUrl: `${SNAPSHOT_URL}/testnet/`,
150
153
  autoUpdate: 'config-and-version',
151
154
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
152
155
  maxTxPoolSize: 100_000_000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "3.0.0-nightly.20250925",
3
+ "version": "3.0.0-nightly.20250926",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./contracts": "./dest/cmds/contracts/index.js",
@@ -70,20 +70,20 @@
70
70
  ]
71
71
  },
72
72
  "dependencies": {
73
- "@aztec/accounts": "3.0.0-nightly.20250925",
74
- "@aztec/archiver": "3.0.0-nightly.20250925",
75
- "@aztec/aztec.js": "3.0.0-nightly.20250925",
76
- "@aztec/constants": "3.0.0-nightly.20250925",
77
- "@aztec/entrypoints": "3.0.0-nightly.20250925",
78
- "@aztec/ethereum": "3.0.0-nightly.20250925",
79
- "@aztec/foundation": "3.0.0-nightly.20250925",
80
- "@aztec/l1-artifacts": "3.0.0-nightly.20250925",
81
- "@aztec/node-lib": "3.0.0-nightly.20250925",
82
- "@aztec/p2p": "3.0.0-nightly.20250925",
83
- "@aztec/protocol-contracts": "3.0.0-nightly.20250925",
84
- "@aztec/stdlib": "3.0.0-nightly.20250925",
85
- "@aztec/test-wallet": "3.0.0-nightly.20250925",
86
- "@aztec/world-state": "3.0.0-nightly.20250925",
73
+ "@aztec/accounts": "3.0.0-nightly.20250926",
74
+ "@aztec/archiver": "3.0.0-nightly.20250926",
75
+ "@aztec/aztec.js": "3.0.0-nightly.20250926",
76
+ "@aztec/constants": "3.0.0-nightly.20250926",
77
+ "@aztec/entrypoints": "3.0.0-nightly.20250926",
78
+ "@aztec/ethereum": "3.0.0-nightly.20250926",
79
+ "@aztec/foundation": "3.0.0-nightly.20250926",
80
+ "@aztec/l1-artifacts": "3.0.0-nightly.20250926",
81
+ "@aztec/node-lib": "3.0.0-nightly.20250926",
82
+ "@aztec/p2p": "3.0.0-nightly.20250926",
83
+ "@aztec/protocol-contracts": "3.0.0-nightly.20250926",
84
+ "@aztec/stdlib": "3.0.0-nightly.20250926",
85
+ "@aztec/test-wallet": "3.0.0-nightly.20250926",
86
+ "@aztec/world-state": "3.0.0-nightly.20250926",
87
87
  "@iarna/toml": "^2.2.5",
88
88
  "@libp2p/peer-id-factory": "^3.0.4",
89
89
  "commander": "^12.1.0",
@@ -110,15 +110,15 @@
110
110
  "typescript": "^5.3.3"
111
111
  },
112
112
  "peerDependencies": {
113
- "@aztec/accounts": "3.0.0-nightly.20250925",
114
- "@aztec/bb-prover": "3.0.0-nightly.20250925",
115
- "@aztec/ethereum": "3.0.0-nightly.20250925",
116
- "@aztec/l1-artifacts": "3.0.0-nightly.20250925",
117
- "@aztec/noir-contracts.js": "3.0.0-nightly.20250925",
118
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250925",
119
- "@aztec/noir-test-contracts.js": "3.0.0-nightly.20250925",
120
- "@aztec/protocol-contracts": "3.0.0-nightly.20250925",
121
- "@aztec/stdlib": "3.0.0-nightly.20250925"
113
+ "@aztec/accounts": "3.0.0-nightly.20250926",
114
+ "@aztec/bb-prover": "3.0.0-nightly.20250926",
115
+ "@aztec/ethereum": "3.0.0-nightly.20250926",
116
+ "@aztec/l1-artifacts": "3.0.0-nightly.20250926",
117
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20250926",
118
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20250926",
119
+ "@aztec/noir-test-contracts.js": "3.0.0-nightly.20250926",
120
+ "@aztec/protocol-contracts": "3.0.0-nightly.20250926",
121
+ "@aztec/stdlib": "3.0.0-nightly.20250926"
122
122
  },
123
123
  "files": [
124
124
  "dest",
@@ -9,6 +9,8 @@ import path, { dirname, join } from 'path';
9
9
 
10
10
  import publicIncludeMetrics from '../../public_include_metric_prefixes.json' with { type: 'json' };
11
11
 
12
+ const SNAPSHOT_URL = 'https://pub-f4a8c34d4bb7441ebf8f48d904512180.r2.dev/snapshots';
13
+
12
14
  export type L2ChainConfig = L1ContractsConfig &
13
15
  Omit<SlasherConfig, 'slashValidatorsNever' | 'slashValidatorsAlways'> & {
14
16
  l1ChainId: number;
@@ -63,11 +65,12 @@ const DefaultSlashConfig = {
63
65
  slashProposeInvalidAttestationsPenalty: DefaultL1ContractsConfig.slashAmountLarge,
64
66
  slashAttestDescendantOfInvalidPenalty: DefaultL1ContractsConfig.slashAmountLarge,
65
67
  slashUnknownPenalty: DefaultL1ContractsConfig.slashAmountSmall,
66
- slashBroadcastedInvalidBlockPenalty: DefaultL1ContractsConfig.slashAmountMedium,
68
+ slashBroadcastedInvalidBlockPenalty: 0n, // DefaultL1ContractsConfig.slashAmountSmall // Disabled until further testing
67
69
  slashMaxPayloadSize: 50,
68
70
  slashGracePeriodL2Slots: 32 * 2, // Two epochs from genesis
69
71
  slashOffenseExpirationRounds: 8,
70
72
  sentinelEnabled: true,
73
+ slashExecuteRoundsLookBack: 4,
71
74
  } satisfies Partial<L2ChainConfig>;
72
75
 
73
76
  export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
@@ -82,7 +85,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
82
85
  seqMinTxsPerBlock: 0,
83
86
  seqMaxTxsPerBlock: 0,
84
87
  realProofs: true,
85
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/staging-ignition/',
88
+ snapshotsUrl: `${SNAPSHOT_URL}/staging-ignition/`,
86
89
  autoUpdate: 'config-and-version',
87
90
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
88
91
  maxTxPoolSize: 100_000_000, // 100MB
@@ -142,12 +145,13 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
142
145
  slashProposeInvalidAttestationsPenalty: 50_000n * 10n ** 18n,
143
146
  slashAttestDescendantOfInvalidPenalty: 50_000n * 10n ** 18n,
144
147
  slashUnknownPenalty: 2_000n * 10n ** 18n,
145
- slashBroadcastedInvalidBlockPenalty: 10_000n * 10n ** 18n,
148
+ slashBroadcastedInvalidBlockPenalty: 0n, // 10_000n * 10n ** 18n, Disabled for now until further testing
146
149
  slashMaxPayloadSize: 50,
147
150
  slashGracePeriodL2Slots: 32 * 4, // One round from genesis
148
151
  slashOffenseExpirationRounds: 8,
149
152
  sentinelEnabled: true,
150
153
  slashingDisableDuration: 5 * 24 * 60 * 60,
154
+ slashExecuteRoundsLookBack: 4,
151
155
  };
152
156
 
153
157
  export const stagingPublicL2ChainConfig: L2ChainConfig = {
@@ -162,7 +166,7 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
162
166
  seqMinTxsPerBlock: 0,
163
167
  seqMaxTxsPerBlock: 20,
164
168
  realProofs: true,
165
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/staging-public/',
169
+ snapshotsUrl: `${SNAPSHOT_URL}/staging-public/`,
166
170
  autoUpdate: 'config-and-version',
167
171
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
168
172
  publicIncludeMetrics,
@@ -215,7 +219,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
215
219
  seqMinTxsPerBlock: 0,
216
220
  seqMaxTxsPerBlock: 20,
217
221
  realProofs: true,
218
- snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/testnet/',
222
+ snapshotsUrl: `${SNAPSHOT_URL}/testnet/`,
219
223
  autoUpdate: 'config-and-version',
220
224
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
221
225
  maxTxPoolSize: 100_000_000, // 100MB