@aztec/cli 3.0.0-nightly.20251025 → 3.0.0-nightly.20251030-2
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.
|
@@ -18,6 +18,8 @@ export type L2ChainConfig = L1ContractsConfig & Omit<SlasherConfig, 'slashValida
|
|
|
18
18
|
publicIncludeMetrics?: string[];
|
|
19
19
|
publicMetricsCollectorUrl?: string;
|
|
20
20
|
publicMetricsCollectFrom?: string[];
|
|
21
|
+
skipArchiverInitialSync?: boolean;
|
|
22
|
+
blobAllowEmptySources?: boolean;
|
|
21
23
|
dbMapSizeKb: number;
|
|
22
24
|
archiverStoreMapSizeKb: number;
|
|
23
25
|
noteHashTreeMapSizeKb: number;
|
|
@@ -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,gBAAg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AClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAIhC,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;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AA+CJ,eAAO,MAAM,4BAA4B,EAAE,aA+E1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAmDxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAmDlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAuDlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAiFlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAmDjC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,YAAY,GAAG,aAAa,GAAG,SAAS,CAgBrF;AAMD,wBAAgB,gCAAgC,CAAC,WAAW,EAAE,YAAY,QAoGzE"}
|
|
@@ -206,6 +206,8 @@ export const testnetL2ChainConfig = {
|
|
|
206
206
|
publicMetricsCollectFrom: [
|
|
207
207
|
'sequencer'
|
|
208
208
|
],
|
|
209
|
+
skipArchiverInitialSync: true,
|
|
210
|
+
blobAllowEmptySources: true,
|
|
209
211
|
// Deployment stuff
|
|
210
212
|
/** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
|
|
211
213
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
|
|
@@ -316,7 +318,7 @@ export const devnetL2ChainConfig = {
|
|
|
316
318
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
|
|
317
319
|
/** How many L2 slots an epoch lasts. */ aztecEpochDuration: 8,
|
|
318
320
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 1,
|
|
319
|
-
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochs:
|
|
321
|
+
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochs: 1,
|
|
320
322
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
321
323
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
322
324
|
/** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
|
|
@@ -386,6 +388,12 @@ export function enrichEnvironmentWithChainConfig(networkName) {
|
|
|
386
388
|
enrichVar('NOTE_HASH_TREE_MAP_SIZE_KB', config.noteHashTreeMapSizeKb.toString());
|
|
387
389
|
enrichVar('NULLIFIER_TREE_MAP_SIZE_KB', config.nullifierTreeMapSizeKb.toString());
|
|
388
390
|
enrichVar('PUBLIC_DATA_TREE_MAP_SIZE_KB', config.publicDataTreeMapSizeKb.toString());
|
|
391
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
392
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
393
|
+
}
|
|
394
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
395
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
396
|
+
}
|
|
389
397
|
if (config.autoUpdate) {
|
|
390
398
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
391
399
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251030-2",
|
|
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.
|
|
74
|
-
"@aztec/archiver": "3.0.0-nightly.
|
|
75
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
76
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
77
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
78
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
79
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
80
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
81
|
-
"@aztec/node-lib": "3.0.0-nightly.
|
|
82
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
83
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
84
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
85
|
-
"@aztec/test-wallet": "3.0.0-nightly.
|
|
86
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
73
|
+
"@aztec/accounts": "3.0.0-nightly.20251030-2",
|
|
74
|
+
"@aztec/archiver": "3.0.0-nightly.20251030-2",
|
|
75
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251030-2",
|
|
76
|
+
"@aztec/constants": "3.0.0-nightly.20251030-2",
|
|
77
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251030-2",
|
|
78
|
+
"@aztec/ethereum": "3.0.0-nightly.20251030-2",
|
|
79
|
+
"@aztec/foundation": "3.0.0-nightly.20251030-2",
|
|
80
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251030-2",
|
|
81
|
+
"@aztec/node-lib": "3.0.0-nightly.20251030-2",
|
|
82
|
+
"@aztec/p2p": "3.0.0-nightly.20251030-2",
|
|
83
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251030-2",
|
|
84
|
+
"@aztec/stdlib": "3.0.0-nightly.20251030-2",
|
|
85
|
+
"@aztec/test-wallet": "3.0.0-nightly.20251030-2",
|
|
86
|
+
"@aztec/world-state": "3.0.0-nightly.20251030-2",
|
|
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.
|
|
114
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
115
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
116
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
117
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
118
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
119
|
-
"@aztec/noir-test-contracts.js": "3.0.0-nightly.
|
|
120
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
121
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
113
|
+
"@aztec/accounts": "3.0.0-nightly.20251030-2",
|
|
114
|
+
"@aztec/bb-prover": "3.0.0-nightly.20251030-2",
|
|
115
|
+
"@aztec/ethereum": "3.0.0-nightly.20251030-2",
|
|
116
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251030-2",
|
|
117
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251030-2",
|
|
118
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251030-2",
|
|
119
|
+
"@aztec/noir-test-contracts.js": "3.0.0-nightly.20251030-2",
|
|
120
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251030-2",
|
|
121
|
+
"@aztec/stdlib": "3.0.0-nightly.20251030-2"
|
|
122
122
|
},
|
|
123
123
|
"files": [
|
|
124
124
|
"dest",
|
|
@@ -31,6 +31,8 @@ export type L2ChainConfig = L1ContractsConfig &
|
|
|
31
31
|
publicIncludeMetrics?: string[];
|
|
32
32
|
publicMetricsCollectorUrl?: string;
|
|
33
33
|
publicMetricsCollectFrom?: string[];
|
|
34
|
+
skipArchiverInitialSync?: boolean;
|
|
35
|
+
blobAllowEmptySources?: boolean;
|
|
34
36
|
|
|
35
37
|
// Setting the dbMapSize provides the default for every DB in the node.
|
|
36
38
|
// Then we explicitly override the sizes for the archiver and the larger trees.
|
|
@@ -294,6 +296,8 @@ export const testnetL2ChainConfig: L2ChainConfig = {
|
|
|
294
296
|
publicIncludeMetrics,
|
|
295
297
|
publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
|
|
296
298
|
publicMetricsCollectFrom: ['sequencer'],
|
|
299
|
+
skipArchiverInitialSync: true,
|
|
300
|
+
blobAllowEmptySources: true,
|
|
297
301
|
|
|
298
302
|
// Deployment stuff
|
|
299
303
|
/** How many seconds an L1 slot lasts. */
|
|
@@ -443,7 +447,7 @@ export const devnetL2ChainConfig: L2ChainConfig = {
|
|
|
443
447
|
/** The target validator committee size. */
|
|
444
448
|
aztecTargetCommitteeSize: 1,
|
|
445
449
|
/** The number of epochs to lag behind the current epoch for validator selection. */
|
|
446
|
-
lagInEpochs:
|
|
450
|
+
lagInEpochs: 1,
|
|
447
451
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */
|
|
448
452
|
localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
449
453
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
@@ -520,6 +524,14 @@ export function enrichEnvironmentWithChainConfig(networkName: NetworkNames) {
|
|
|
520
524
|
enrichVar('NULLIFIER_TREE_MAP_SIZE_KB', config.nullifierTreeMapSizeKb.toString());
|
|
521
525
|
enrichVar('PUBLIC_DATA_TREE_MAP_SIZE_KB', config.publicDataTreeMapSizeKb.toString());
|
|
522
526
|
|
|
527
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
528
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
532
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
533
|
+
}
|
|
534
|
+
|
|
523
535
|
if (config.autoUpdate) {
|
|
524
536
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
525
537
|
}
|