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

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.
@@ -35,7 +35,9 @@ export async function addL1Validator({ rpcUrls, chainId, privateKey, mnemonic, a
35
35
  const gseAddress = await rollup.read.getGSE();
36
36
  const gse = new GSEContract(l1Client, gseAddress);
37
37
  const registrationTuple = await gse.makeRegistrationTuple(blsSecretKey);
38
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
38
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, {
39
+ logger: debugLogger
40
+ });
39
41
  const proofParamsObj = ZkPassportProofParams.fromBuffer(proofParams);
40
42
  const merkleProofArray = merkleProof.map((proof)=>addLeadingHex(proof));
41
43
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
@@ -89,7 +91,9 @@ export async function addL1ValidatorViaRollup({ rpcUrls, chainId, privateKey, mn
89
91
  const gseAddress = await rollup.read.getGSE();
90
92
  const gse = new GSEContract(l1Client, gseAddress);
91
93
  const registrationTuple = await gse.makeRegistrationTuple(blsSecretKey);
92
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
94
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, {
95
+ logger: debugLogger
96
+ });
93
97
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
94
98
  to: rollupAddress.toString(),
95
99
  data: encodeFunctionData({
@@ -129,7 +133,9 @@ export async function removeL1Validator({ rpcUrls, chainId, privateKey, mnemonic
129
133
  const account = getAccount(privateKey, mnemonic);
130
134
  const chain = createEthereumChain(rpcUrls, chainId);
131
135
  const l1Client = createExtendedL1Client(rpcUrls, account, chain.chainInfo);
132
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
136
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, {
137
+ logger: debugLogger
138
+ });
133
139
  dualLog(`Removing validator ${validatorAddress.toString()} from rollup ${rollupAddress.toString()}`);
134
140
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
135
141
  to: rollupAddress.toString(),
@@ -149,7 +155,9 @@ export async function pruneRollup({ rpcUrls, chainId, privateKey, mnemonic, roll
149
155
  const account = getAccount(privateKey, mnemonic);
150
156
  const chain = createEthereumChain(rpcUrls, chainId);
151
157
  const l1Client = createExtendedL1Client(rpcUrls, account, chain.chainInfo);
152
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
158
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, {
159
+ logger: debugLogger
160
+ });
153
161
  dualLog(`Trying prune`);
154
162
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
155
163
  to: rollupAddress.toString(),
@@ -6,7 +6,7 @@ import publicIncludeMetrics from '../../public_include_metric_prefixes.json' wit
6
6
  };
7
7
  import { cachedFetch } from './cached_fetch.js';
8
8
  import { enrichEthAddressVar, enrichVar } from './enrich_env.js';
9
- const SNAPSHOT_URL = 'https://pub-f4a8c34d4bb7441ebf8f48d904512180.r2.dev/snapshots';
9
+ const SNAPSHOTS_URL = 'https://aztec-labs-snapshots.com';
10
10
  const defaultDBMapSizeKb = 128 * 1_024 * 1_024; // 128 GB
11
11
  const tbMapSizeKb = 1_024 * 1_024 * 1_024; // 1 TB
12
12
  const DefaultSlashConfig = {
@@ -54,7 +54,7 @@ export const stagingIgnitionL2ChainConfig = {
54
54
  seqMaxTxsPerBlock: 0,
55
55
  realProofs: true,
56
56
  snapshotsUrls: [
57
- `${SNAPSHOT_URL}/staging-ignition/`
57
+ `${SNAPSHOTS_URL}/staging-ignition/`
58
58
  ],
59
59
  autoUpdate: 'config-and-version',
60
60
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
@@ -119,7 +119,7 @@ export const stagingPublicL2ChainConfig = {
119
119
  seqMaxTxsPerBlock: 20,
120
120
  realProofs: true,
121
121
  snapshotsUrls: [
122
- `${SNAPSHOT_URL}/staging-public/`
122
+ `${SNAPSHOTS_URL}/staging-public/`
123
123
  ],
124
124
  autoUpdate: 'config-and-version',
125
125
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
@@ -157,7 +157,7 @@ export const testnetL2ChainConfig = {
157
157
  seqMaxTxsPerBlock: 20,
158
158
  realProofs: true,
159
159
  snapshotsUrls: [
160
- `${SNAPSHOT_URL}/testnet/`
160
+ `${SNAPSHOTS_URL}/testnet/`
161
161
  ],
162
162
  autoUpdate: 'config-and-version',
163
163
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
@@ -197,7 +197,7 @@ export const ignitionL2ChainConfig = {
197
197
  seqMaxTxsPerBlock: 0,
198
198
  realProofs: true,
199
199
  snapshotsUrls: [
200
- 'https://storage.googleapis.com/aztec-testnet/snapshots/ignition/'
200
+ `${SNAPSHOTS_URL}/ignition/`
201
201
  ],
202
202
  autoUpdate: 'notify',
203
203
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/ignition.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "3.0.0-nightly.20251005",
3
+ "version": "3.0.0-nightly.20251007",
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.20251005",
74
- "@aztec/archiver": "3.0.0-nightly.20251005",
75
- "@aztec/aztec.js": "3.0.0-nightly.20251005",
76
- "@aztec/constants": "3.0.0-nightly.20251005",
77
- "@aztec/entrypoints": "3.0.0-nightly.20251005",
78
- "@aztec/ethereum": "3.0.0-nightly.20251005",
79
- "@aztec/foundation": "3.0.0-nightly.20251005",
80
- "@aztec/l1-artifacts": "3.0.0-nightly.20251005",
81
- "@aztec/node-lib": "3.0.0-nightly.20251005",
82
- "@aztec/p2p": "3.0.0-nightly.20251005",
83
- "@aztec/protocol-contracts": "3.0.0-nightly.20251005",
84
- "@aztec/stdlib": "3.0.0-nightly.20251005",
85
- "@aztec/test-wallet": "3.0.0-nightly.20251005",
86
- "@aztec/world-state": "3.0.0-nightly.20251005",
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",
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.20251005",
114
- "@aztec/bb-prover": "3.0.0-nightly.20251005",
115
- "@aztec/ethereum": "3.0.0-nightly.20251005",
116
- "@aztec/l1-artifacts": "3.0.0-nightly.20251005",
117
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251005",
118
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251005",
119
- "@aztec/noir-test-contracts.js": "3.0.0-nightly.20251005",
120
- "@aztec/protocol-contracts": "3.0.0-nightly.20251005",
121
- "@aztec/stdlib": "3.0.0-nightly.20251005"
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"
122
122
  },
123
123
  "files": [
124
124
  "dest",
@@ -97,7 +97,7 @@ export async function addL1Validator({
97
97
 
98
98
  const registrationTuple = await gse.makeRegistrationTuple(blsSecretKey);
99
99
 
100
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
100
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, { logger: debugLogger });
101
101
  const proofParamsObj = ZkPassportProofParams.fromBuffer(proofParams);
102
102
  const merkleProofArray = merkleProof.map(proof => addLeadingHex(proof));
103
103
 
@@ -173,7 +173,7 @@ export async function addL1ValidatorViaRollup({
173
173
 
174
174
  const registrationTuple = await gse.makeRegistrationTuple(blsSecretKey);
175
175
 
176
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
176
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, { logger: debugLogger });
177
177
 
178
178
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
179
179
  to: rollupAddress.toString(),
@@ -220,7 +220,7 @@ export async function removeL1Validator({
220
220
  const account = getAccount(privateKey, mnemonic);
221
221
  const chain = createEthereumChain(rpcUrls, chainId);
222
222
  const l1Client = createExtendedL1Client(rpcUrls, account, chain.chainInfo);
223
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
223
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, { logger: debugLogger });
224
224
 
225
225
  dualLog(`Removing validator ${validatorAddress.toString()} from rollup ${rollupAddress.toString()}`);
226
226
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
@@ -247,7 +247,7 @@ export async function pruneRollup({
247
247
  const account = getAccount(privateKey, mnemonic);
248
248
  const chain = createEthereumChain(rpcUrls, chainId);
249
249
  const l1Client = createExtendedL1Client(rpcUrls, account, chain.chainInfo);
250
- const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, debugLogger);
250
+ const l1TxUtils = createL1TxUtilsFromViemWallet(l1Client, { logger: debugLogger });
251
251
 
252
252
  dualLog(`Trying prune`);
253
253
  const { receipt } = await l1TxUtils.sendAndMonitorTransaction({
@@ -10,7 +10,7 @@ import publicIncludeMetrics from '../../public_include_metric_prefixes.json' wit
10
10
  import { cachedFetch } from './cached_fetch.js';
11
11
  import { enrichEthAddressVar, enrichVar } from './enrich_env.js';
12
12
 
13
- const SNAPSHOT_URL = 'https://pub-f4a8c34d4bb7441ebf8f48d904512180.r2.dev/snapshots';
13
+ const SNAPSHOTS_URL = 'https://aztec-labs-snapshots.com';
14
14
 
15
15
  const defaultDBMapSizeKb = 128 * 1_024 * 1_024; // 128 GB
16
16
  const tbMapSizeKb = 1_024 * 1_024 * 1_024; // 1 TB
@@ -99,7 +99,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
99
99
  seqMinTxsPerBlock: 0,
100
100
  seqMaxTxsPerBlock: 0,
101
101
  realProofs: true,
102
- snapshotsUrls: [`${SNAPSHOT_URL}/staging-ignition/`],
102
+ snapshotsUrls: [`${SNAPSHOTS_URL}/staging-ignition/`],
103
103
  autoUpdate: 'config-and-version',
104
104
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
105
105
  maxTxPoolSize: 100_000_000, // 100MB
@@ -179,7 +179,7 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
179
179
  seqMinTxsPerBlock: 0,
180
180
  seqMaxTxsPerBlock: 20,
181
181
  realProofs: true,
182
- snapshotsUrls: [`${SNAPSHOT_URL}/staging-public/`],
182
+ snapshotsUrls: [`${SNAPSHOTS_URL}/staging-public/`],
183
183
  autoUpdate: 'config-and-version',
184
184
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
185
185
  publicIncludeMetrics,
@@ -231,7 +231,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
231
231
  seqMinTxsPerBlock: 0,
232
232
  seqMaxTxsPerBlock: 20,
233
233
  realProofs: true,
234
- snapshotsUrls: [`${SNAPSHOT_URL}/testnet/`],
234
+ snapshotsUrls: [`${SNAPSHOTS_URL}/testnet/`],
235
235
  autoUpdate: 'config-and-version',
236
236
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
237
237
  maxTxPoolSize: 100_000_000, // 100MB
@@ -285,7 +285,7 @@ export const ignitionL2ChainConfig: L2ChainConfig = {
285
285
  seqMinTxsPerBlock: 0,
286
286
  seqMaxTxsPerBlock: 0,
287
287
  realProofs: true,
288
- snapshotsUrls: ['https://storage.googleapis.com/aztec-testnet/snapshots/ignition/'],
288
+ snapshotsUrls: [`${SNAPSHOTS_URL}/ignition/`],
289
289
  autoUpdate: 'notify',
290
290
  autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/ignition.json',
291
291
  maxTxPoolSize: 100_000_000, // 100MB