@aztec/cli 3.0.0-devnet.2 → 3.0.0-manual.20251030
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,gBAAgB,CAA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BAAqB,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,
|
|
@@ -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-
|
|
3
|
+
"version": "3.0.0-manual.20251030",
|
|
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-
|
|
74
|
-
"@aztec/archiver": "3.0.0-
|
|
75
|
-
"@aztec/aztec.js": "3.0.0-
|
|
76
|
-
"@aztec/constants": "3.0.0-
|
|
77
|
-
"@aztec/entrypoints": "3.0.0-
|
|
78
|
-
"@aztec/ethereum": "3.0.0-
|
|
79
|
-
"@aztec/foundation": "3.0.0-
|
|
80
|
-
"@aztec/l1-artifacts": "3.0.0-
|
|
81
|
-
"@aztec/node-lib": "3.0.0-
|
|
82
|
-
"@aztec/p2p": "3.0.0-
|
|
83
|
-
"@aztec/protocol-contracts": "3.0.0-
|
|
84
|
-
"@aztec/stdlib": "3.0.0-
|
|
85
|
-
"@aztec/test-wallet": "3.0.0-
|
|
86
|
-
"@aztec/world-state": "3.0.0-
|
|
73
|
+
"@aztec/accounts": "3.0.0-manual.20251030",
|
|
74
|
+
"@aztec/archiver": "3.0.0-manual.20251030",
|
|
75
|
+
"@aztec/aztec.js": "3.0.0-manual.20251030",
|
|
76
|
+
"@aztec/constants": "3.0.0-manual.20251030",
|
|
77
|
+
"@aztec/entrypoints": "3.0.0-manual.20251030",
|
|
78
|
+
"@aztec/ethereum": "3.0.0-manual.20251030",
|
|
79
|
+
"@aztec/foundation": "3.0.0-manual.20251030",
|
|
80
|
+
"@aztec/l1-artifacts": "3.0.0-manual.20251030",
|
|
81
|
+
"@aztec/node-lib": "3.0.0-manual.20251030",
|
|
82
|
+
"@aztec/p2p": "3.0.0-manual.20251030",
|
|
83
|
+
"@aztec/protocol-contracts": "3.0.0-manual.20251030",
|
|
84
|
+
"@aztec/stdlib": "3.0.0-manual.20251030",
|
|
85
|
+
"@aztec/test-wallet": "3.0.0-manual.20251030",
|
|
86
|
+
"@aztec/world-state": "3.0.0-manual.20251030",
|
|
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-
|
|
114
|
-
"@aztec/bb-prover": "3.0.0-
|
|
115
|
-
"@aztec/ethereum": "3.0.0-
|
|
116
|
-
"@aztec/l1-artifacts": "3.0.0-
|
|
117
|
-
"@aztec/noir-contracts.js": "3.0.0-
|
|
118
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-
|
|
119
|
-
"@aztec/noir-test-contracts.js": "3.0.0-
|
|
120
|
-
"@aztec/protocol-contracts": "3.0.0-
|
|
121
|
-
"@aztec/stdlib": "3.0.0-
|
|
113
|
+
"@aztec/accounts": "3.0.0-manual.20251030",
|
|
114
|
+
"@aztec/bb-prover": "3.0.0-manual.20251030",
|
|
115
|
+
"@aztec/ethereum": "3.0.0-manual.20251030",
|
|
116
|
+
"@aztec/l1-artifacts": "3.0.0-manual.20251030",
|
|
117
|
+
"@aztec/noir-contracts.js": "3.0.0-manual.20251030",
|
|
118
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-manual.20251030",
|
|
119
|
+
"@aztec/noir-test-contracts.js": "3.0.0-manual.20251030",
|
|
120
|
+
"@aztec/protocol-contracts": "3.0.0-manual.20251030",
|
|
121
|
+
"@aztec/stdlib": "3.0.0-manual.20251030"
|
|
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. */
|
|
@@ -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
|
}
|