@aztec/cli 3.0.0-nightly.20251007 → 3.0.0-nightly.20251008

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,7 +1,7 @@
1
1
  import { getInitialTestAccountsData } from '@aztec/accounts/testing';
2
2
  import { BatchCall, Fr, L1FeeJuicePortalManager, createAztecNodeClient, retryUntil, waitForProven } from '@aztec/aztec.js';
3
3
  import { createEthereumChain, createExtendedL1Client, deployL1Contract } from '@aztec/ethereum';
4
- import { TestWallet } from '@aztec/test-wallet';
4
+ import { TestWallet } from '@aztec/test-wallet/server';
5
5
  import { getContract } from 'viem';
6
6
  import { mnemonicToAccount, privateKeyToAccount } from 'viem/accounts';
7
7
  const waitOpts = {
@@ -2,7 +2,7 @@ import { getInitialTestAccountsData } from '@aztec/accounts/testing';
2
2
  import { createAztecNodeClient } from '@aztec/aztec.js';
3
3
  import { jsonStringify } from '@aztec/foundation/json-rpc';
4
4
  import { ProtocolContractAddress } from '@aztec/protocol-contracts';
5
- import { TestWallet, deployFundedSchnorrAccounts } from '@aztec/test-wallet';
5
+ import { TestWallet, deployFundedSchnorrAccounts } from '@aztec/test-wallet/server';
6
6
  export async function setupL2Contracts(nodeUrl, testAccounts, json, log) {
7
7
  const waitOpts = {
8
8
  timeout: 180,
@@ -27,6 +27,7 @@ export type L2ChainConfig = L1ContractsConfig & Omit<SlasherConfig, 'slashValida
27
27
  };
28
28
  export declare const stagingIgnitionL2ChainConfig: L2ChainConfig;
29
29
  export declare const stagingPublicL2ChainConfig: L2ChainConfig;
30
+ export declare const nextNetL2ChainConfig: L2ChainConfig;
30
31
  export declare const testnetL2ChainConfig: L2ChainConfig;
31
32
  export declare const ignitionL2ChainConfig: L2ChainConfig;
32
33
  export declare function getBootnodes(networkName: NetworkNames, cacheDir?: string): Promise<any>;
@@ -1 +1 @@
1
- {"version":3,"file":"chain_l2_config.d.ts","sourceRoot":"","sources":["../../src/config/chain_l2_config.ts"],"names":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AM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IAIpC,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAGhC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AA+CJ,eAAO,MAAM,4BAA4B,EAAE,aA8E1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAkDxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAkDlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAoDlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,aAgFnC,CAAC;AAIF,wBAAsB,YAAY,CAAC,WAAW,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,gBAQ9E;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAsBpC;AAMD,wBAAsB,gCAAgC,CAAC,WAAW,EAAE,YAAY,iBA4F/E"}
@@ -147,6 +147,42 @@ export const stagingPublicL2ChainConfig = {
147
147
  ...DefaultSlashConfig,
148
148
  ...DefaultNetworkDBMapSizeConfig
149
149
  };
150
+ export const nextNetL2ChainConfig = {
151
+ l1ChainId: 11155111,
152
+ testAccounts: true,
153
+ sponsoredFPC: true,
154
+ p2pEnabled: true,
155
+ p2pBootstrapNodes: [],
156
+ seqMinTxsPerBlock: 0,
157
+ seqMaxTxsPerBlock: 8,
158
+ realProofs: true,
159
+ snapshotsUrls: [],
160
+ autoUpdate: 'config-and-version',
161
+ autoUpdateUrl: '',
162
+ publicIncludeMetrics,
163
+ publicMetricsCollectorUrl: '',
164
+ publicMetricsCollectFrom: [
165
+ ''
166
+ ],
167
+ maxTxPoolSize: 100_000_000,
168
+ // Deployment stuff
169
+ /** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
170
+ /** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
171
+ /** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
172
+ /** The target validator committee size. */ aztecTargetCommitteeSize: 48,
173
+ /** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochs: DefaultL1ContractsConfig.lagInEpochs,
174
+ /** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
175
+ /** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
176
+ /** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
177
+ /** The minimum stake for a validator. */ ejectionThreshold: DefaultL1ContractsConfig.ejectionThreshold,
178
+ /** The slashing round size */ slashingRoundSizeInEpochs: DefaultL1ContractsConfig.slashingRoundSizeInEpochs,
179
+ /** Governance proposing round size */ governanceProposerRoundSize: DefaultL1ContractsConfig.governanceProposerRoundSize,
180
+ /** The mana target for the rollup */ manaTarget: DefaultL1ContractsConfig.manaTarget,
181
+ /** The proving cost per mana */ provingCostPerMana: DefaultL1ContractsConfig.provingCostPerMana,
182
+ /** Exit delay for stakers */ exitDelaySeconds: DefaultL1ContractsConfig.exitDelaySeconds,
183
+ ...DefaultSlashConfig,
184
+ ...DefaultNetworkDBMapSizeConfig
185
+ };
150
186
  export const testnetL2ChainConfig = {
151
187
  l1ChainId: 11155111,
152
188
  testAccounts: false,
@@ -279,6 +315,10 @@ export async function getL2ChainConfig(networkName, cacheDir) {
279
315
  config = {
280
316
  ...ignitionL2ChainConfig
281
317
  };
318
+ } else if (networkName === 'next-net') {
319
+ config = {
320
+ ...nextNetL2ChainConfig
321
+ };
282
322
  }
283
323
  if (!config) {
284
324
  return undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"network_config.d.ts","sourceRoot":"","sources":["../../src/config/network_config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA0B,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYzG;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAiDpC;AAED;;;;;;GAMG;AACH,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,YAAY,iBA0BjF"}
1
+ {"version":3,"file":"network_config.d.ts","sourceRoot":"","sources":["../../src/config/network_config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA0B,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYzG;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAiDpC;AAED;;;;;;GAMG;AACH,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,YAAY,iBAoBjF"}
@@ -71,12 +71,7 @@ const NETWORK_CONFIG_CACHE_DURATION_MS = 60 * 60 * 1000; // 1 hour
71
71
  }
72
72
  enrichVar('BOOTSTRAP_NODES', networkConfig.bootnodes.join(','));
73
73
  enrichVar('L1_CHAIN_ID', String(networkConfig.l1ChainId));
74
- // Snapshot synch only supports a single source. Take the first
75
- // See A-101 for more details
76
- const firstSource = networkConfig[0];
77
- if (firstSource) {
78
- enrichVar('SYNC_SNAPSHOTS_URL', networkConfig.snapshots.join(','));
79
- }
74
+ enrichVar('SYNC_SNAPSHOTS_URLS', networkConfig.snapshots.join(','));
80
75
  enrichEthAddressVar('REGISTRY_CONTRACT_ADDRESS', networkConfig.registryAddress.toString());
81
76
  if (networkConfig.feeAssetHandlerAddress) {
82
77
  enrichEthAddressVar('FEE_ASSET_HANDLER_CONTRACT_ADDRESS', networkConfig.feeAssetHandlerAddress.toString());
@@ -2,7 +2,7 @@ import { EthAddress } from '@aztec/aztec.js';
2
2
  import { FunctionType, getAllFunctionAbis, loadContractArtifact } from '@aztec/aztec.js/abi';
3
3
  import { SecretValue } from '@aztec/foundation/config';
4
4
  import { Fr } from '@aztec/foundation/fields';
5
- import { protocolContractTreeRoot } from '@aztec/protocol-contracts';
5
+ import { protocolContractsHash } from '@aztec/protocol-contracts';
6
6
  import TOML from '@iarna/toml';
7
7
  import { readFile } from 'fs/promises';
8
8
  import { encodeArgs } from './encoding.js';
@@ -34,7 +34,7 @@ import { encodeArgs } from './encoding.js';
34
34
  const { getVKTreeRoot } = await import('@aztec/noir-protocol-circuits-types/vk-tree');
35
35
  const result = await deployL1Contracts(chain.rpcUrls, account, chain.chainInfo, debugLogger, {
36
36
  vkTreeRoot: getVKTreeRoot(),
37
- protocolContractTreeRoot,
37
+ protocolContractsHash,
38
38
  genesisArchiveRoot,
39
39
  salt,
40
40
  initialValidators,
@@ -74,7 +74,7 @@ export async function deployNewRollupContracts(registryAddress, rpcUrls, chainId
74
74
  const { rollup, slashFactoryAddress } = await deployRollupForUpgrade(client, {
75
75
  salt,
76
76
  vkTreeRoot: getVKTreeRoot(),
77
- protocolContractTreeRoot,
77
+ protocolContractsHash,
78
78
  genesisArchiveRoot,
79
79
  initialValidators,
80
80
  feeJuicePortalInitialBalance,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "3.0.0-nightly.20251007",
3
+ "version": "3.0.0-nightly.20251008",
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.20251007",
74
- "@aztec/archiver": "3.0.0-nightly.20251007",
75
- "@aztec/aztec.js": "3.0.0-nightly.20251007",
76
- "@aztec/constants": "3.0.0-nightly.20251007",
77
- "@aztec/entrypoints": "3.0.0-nightly.20251007",
78
- "@aztec/ethereum": "3.0.0-nightly.20251007",
79
- "@aztec/foundation": "3.0.0-nightly.20251007",
80
- "@aztec/l1-artifacts": "3.0.0-nightly.20251007",
81
- "@aztec/node-lib": "3.0.0-nightly.20251007",
82
- "@aztec/p2p": "3.0.0-nightly.20251007",
83
- "@aztec/protocol-contracts": "3.0.0-nightly.20251007",
84
- "@aztec/stdlib": "3.0.0-nightly.20251007",
85
- "@aztec/test-wallet": "3.0.0-nightly.20251007",
86
- "@aztec/world-state": "3.0.0-nightly.20251007",
73
+ "@aztec/accounts": "3.0.0-nightly.20251008",
74
+ "@aztec/archiver": "3.0.0-nightly.20251008",
75
+ "@aztec/aztec.js": "3.0.0-nightly.20251008",
76
+ "@aztec/constants": "3.0.0-nightly.20251008",
77
+ "@aztec/entrypoints": "3.0.0-nightly.20251008",
78
+ "@aztec/ethereum": "3.0.0-nightly.20251008",
79
+ "@aztec/foundation": "3.0.0-nightly.20251008",
80
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251008",
81
+ "@aztec/node-lib": "3.0.0-nightly.20251008",
82
+ "@aztec/p2p": "3.0.0-nightly.20251008",
83
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251008",
84
+ "@aztec/stdlib": "3.0.0-nightly.20251008",
85
+ "@aztec/test-wallet": "3.0.0-nightly.20251008",
86
+ "@aztec/world-state": "3.0.0-nightly.20251008",
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.20251007",
114
- "@aztec/bb-prover": "3.0.0-nightly.20251007",
115
- "@aztec/ethereum": "3.0.0-nightly.20251007",
116
- "@aztec/l1-artifacts": "3.0.0-nightly.20251007",
117
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251007",
118
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251007",
119
- "@aztec/noir-test-contracts.js": "3.0.0-nightly.20251007",
120
- "@aztec/protocol-contracts": "3.0.0-nightly.20251007",
121
- "@aztec/stdlib": "3.0.0-nightly.20251007"
113
+ "@aztec/accounts": "3.0.0-nightly.20251008",
114
+ "@aztec/bb-prover": "3.0.0-nightly.20251008",
115
+ "@aztec/ethereum": "3.0.0-nightly.20251008",
116
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251008",
117
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251008",
118
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251008",
119
+ "@aztec/noir-test-contracts.js": "3.0.0-nightly.20251008",
120
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251008",
121
+ "@aztec/stdlib": "3.0.0-nightly.20251008"
122
122
  },
123
123
  "files": [
124
124
  "dest",
@@ -21,7 +21,7 @@ import {
21
21
  deployL1Contract,
22
22
  } from '@aztec/ethereum';
23
23
  import type { LogFn, Logger } from '@aztec/foundation/log';
24
- import { TestWallet } from '@aztec/test-wallet';
24
+ import { TestWallet } from '@aztec/test-wallet/server';
25
25
 
26
26
  import { getContract } from 'viem';
27
27
  import { mnemonicToAccount, privateKeyToAccount } from 'viem/accounts';
@@ -3,7 +3,7 @@ import { AccountManager, type AztecAddress, type WaitOpts, createAztecNodeClient
3
3
  import { jsonStringify } from '@aztec/foundation/json-rpc';
4
4
  import type { LogFn } from '@aztec/foundation/log';
5
5
  import { ProtocolContractAddress } from '@aztec/protocol-contracts';
6
- import { TestWallet, deployFundedSchnorrAccounts } from '@aztec/test-wallet';
6
+ import { TestWallet, deployFundedSchnorrAccounts } from '@aztec/test-wallet/server';
7
7
 
8
8
  export async function setupL2Contracts(nodeUrl: string, testAccounts: boolean, json: boolean, log: LogFn) {
9
9
  const waitOpts: WaitOpts = {
@@ -222,6 +222,58 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
222
222
  ...DefaultNetworkDBMapSizeConfig,
223
223
  };
224
224
 
225
+ export const nextNetL2ChainConfig: L2ChainConfig = {
226
+ l1ChainId: 11155111,
227
+ testAccounts: true,
228
+ sponsoredFPC: true,
229
+ p2pEnabled: true,
230
+ p2pBootstrapNodes: [],
231
+ seqMinTxsPerBlock: 0,
232
+ seqMaxTxsPerBlock: 8,
233
+ realProofs: true,
234
+ snapshotsUrls: [],
235
+ autoUpdate: 'config-and-version',
236
+ autoUpdateUrl: '',
237
+ publicIncludeMetrics,
238
+ publicMetricsCollectorUrl: '',
239
+ publicMetricsCollectFrom: [''],
240
+ maxTxPoolSize: 100_000_000, // 100MB
241
+
242
+ // Deployment stuff
243
+ /** How many seconds an L1 slot lasts. */
244
+ ethereumSlotDuration: 12,
245
+ /** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */
246
+ aztecSlotDuration: 36,
247
+ /** How many L2 slots an epoch lasts. */
248
+ aztecEpochDuration: 32,
249
+ /** The target validator committee size. */
250
+ aztecTargetCommitteeSize: 48,
251
+ /** The number of epochs to lag behind the current epoch for validator selection. */
252
+ lagInEpochs: DefaultL1ContractsConfig.lagInEpochs,
253
+ /** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */
254
+ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
255
+ /** The number of epochs after an epoch ends that proofs are still accepted. */
256
+ aztecProofSubmissionEpochs: 1,
257
+ /** The deposit amount for a validator */
258
+ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
259
+ /** The minimum stake for a validator. */
260
+ ejectionThreshold: DefaultL1ContractsConfig.ejectionThreshold,
261
+ /** The slashing round size */
262
+ slashingRoundSizeInEpochs: DefaultL1ContractsConfig.slashingRoundSizeInEpochs,
263
+ /** Governance proposing round size */
264
+ governanceProposerRoundSize: DefaultL1ContractsConfig.governanceProposerRoundSize,
265
+ /** The mana target for the rollup */
266
+ manaTarget: DefaultL1ContractsConfig.manaTarget,
267
+ /** The proving cost per mana */
268
+ provingCostPerMana: DefaultL1ContractsConfig.provingCostPerMana,
269
+ /** Exit delay for stakers */
270
+ exitDelaySeconds: DefaultL1ContractsConfig.exitDelaySeconds,
271
+
272
+ ...DefaultSlashConfig,
273
+
274
+ ...DefaultNetworkDBMapSizeConfig,
275
+ };
276
+
225
277
  export const testnetL2ChainConfig: L2ChainConfig = {
226
278
  l1ChainId: 11155111,
227
279
  testAccounts: false,
@@ -383,6 +435,8 @@ export async function getL2ChainConfig(
383
435
  config = { ...stagingIgnitionL2ChainConfig };
384
436
  } else if (networkName === 'ignition') {
385
437
  config = { ...ignitionL2ChainConfig };
438
+ } else if (networkName === 'next-net') {
439
+ config = { ...nextNetL2ChainConfig };
386
440
  }
387
441
  if (!config) {
388
442
  return undefined;
@@ -93,13 +93,7 @@ export async function enrichEnvironmentWithNetworkConfig(networkName: NetworkNam
93
93
 
94
94
  enrichVar('BOOTSTRAP_NODES', networkConfig.bootnodes.join(','));
95
95
  enrichVar('L1_CHAIN_ID', String(networkConfig.l1ChainId));
96
-
97
- // Snapshot synch only supports a single source. Take the first
98
- // See A-101 for more details
99
- const firstSource = networkConfig[0];
100
- if (firstSource) {
101
- enrichVar('SYNC_SNAPSHOTS_URL', networkConfig.snapshots.join(','));
102
- }
96
+ enrichVar('SYNC_SNAPSHOTS_URLS', networkConfig.snapshots.join(','));
103
97
 
104
98
  enrichEthAddressVar('REGISTRY_CONTRACT_ADDRESS', networkConfig.registryAddress.toString());
105
99
  if (networkConfig.feeAssetHandlerAddress) {
@@ -16,7 +16,7 @@ import { SecretValue } from '@aztec/foundation/config';
16
16
  import { Fr } from '@aztec/foundation/fields';
17
17
  import type { LogFn, Logger } from '@aztec/foundation/log';
18
18
  import type { NoirPackageConfig } from '@aztec/foundation/noir';
19
- import { protocolContractTreeRoot } from '@aztec/protocol-contracts';
19
+ import { protocolContractsHash } from '@aztec/protocol-contracts';
20
20
 
21
21
  import TOML from '@iarna/toml';
22
22
  import { readFile } from 'fs/promises';
@@ -78,7 +78,7 @@ export async function deployAztecContracts(
78
78
  debugLogger,
79
79
  {
80
80
  vkTreeRoot: getVKTreeRoot(),
81
- protocolContractTreeRoot,
81
+ protocolContractsHash,
82
82
  genesisArchiveRoot,
83
83
  salt,
84
84
  initialValidators,
@@ -141,7 +141,7 @@ export async function deployNewRollupContracts(
141
141
  {
142
142
  salt,
143
143
  vkTreeRoot: getVKTreeRoot(),
144
- protocolContractTreeRoot,
144
+ protocolContractsHash,
145
145
  genesisArchiveRoot,
146
146
  initialValidators,
147
147
  feeJuicePortalInitialBalance,