@aztec/cli 2.1.0-rc.23 → 2.1.0-rc.24
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.
|
@@ -19,6 +19,8 @@ export type L2ChainConfig = L1ContractsConfig & Pick<P2PConfig, 'txPoolDeleteTxs
|
|
|
19
19
|
publicIncludeMetrics?: string[];
|
|
20
20
|
publicMetricsCollectorUrl?: string;
|
|
21
21
|
publicMetricsCollectFrom?: string[];
|
|
22
|
+
skipArchiverInitialSync?: boolean;
|
|
23
|
+
blobAllowEmptySources?: boolean;
|
|
22
24
|
dbMapSizeKb: number;
|
|
23
25
|
archiverStoreMapSizeKb: number;
|
|
24
26
|
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,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAYrE,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,GAC5C,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,MAA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AAC;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;IACpC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,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,aAiF1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAoDxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAyDlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAgFlC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,YAAY,GAAG,aAAa,GAAG,SAAS,CAYrF;AAMD,wBAAgB,gCAAgC,CAAC,WAAW,EAAE,YAAY,QAoGzE"}
|
|
@@ -65,6 +65,7 @@ export const stagingIgnitionL2ChainConfig = {
|
|
|
65
65
|
'sequencer'
|
|
66
66
|
],
|
|
67
67
|
txPoolDeleteTxsAfterReorg: false,
|
|
68
|
+
blobAllowEmptySources: true,
|
|
68
69
|
/** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
|
|
69
70
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 72,
|
|
70
71
|
/** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
|
|
@@ -172,6 +173,8 @@ export const testnetL2ChainConfig = {
|
|
|
172
173
|
'sequencer'
|
|
173
174
|
],
|
|
174
175
|
txPoolDeleteTxsAfterReorg: true,
|
|
176
|
+
skipArchiverInitialSync: true,
|
|
177
|
+
blobAllowEmptySources: true,
|
|
175
178
|
// Deployment stuff
|
|
176
179
|
/** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
|
|
177
180
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
|
|
@@ -309,6 +312,12 @@ export function enrichEnvironmentWithChainConfig(networkName) {
|
|
|
309
312
|
enrichVar('NOTE_HASH_TREE_MAP_SIZE_KB', config.noteHashTreeMapSizeKb.toString());
|
|
310
313
|
enrichVar('NULLIFIER_TREE_MAP_SIZE_KB', config.nullifierTreeMapSizeKb.toString());
|
|
311
314
|
enrichVar('PUBLIC_DATA_TREE_MAP_SIZE_KB', config.publicDataTreeMapSizeKb.toString());
|
|
315
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
316
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
317
|
+
}
|
|
318
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
319
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
320
|
+
}
|
|
312
321
|
if (config.autoUpdate) {
|
|
313
322
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
314
323
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "2.1.0-rc.
|
|
3
|
+
"version": "2.1.0-rc.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@aztec/archiver": "2.1.0-rc.
|
|
74
|
-
"@aztec/aztec.js": "2.1.0-rc.
|
|
75
|
-
"@aztec/constants": "2.1.0-rc.
|
|
76
|
-
"@aztec/entrypoints": "2.1.0-rc.
|
|
77
|
-
"@aztec/ethereum": "2.1.0-rc.
|
|
78
|
-
"@aztec/foundation": "2.1.0-rc.
|
|
79
|
-
"@aztec/l1-artifacts": "2.1.0-rc.
|
|
80
|
-
"@aztec/node-lib": "2.1.0-rc.
|
|
81
|
-
"@aztec/p2p": "2.1.0-rc.
|
|
82
|
-
"@aztec/stdlib": "2.1.0-rc.
|
|
83
|
-
"@aztec/world-state": "2.1.0-rc.
|
|
73
|
+
"@aztec/archiver": "2.1.0-rc.24",
|
|
74
|
+
"@aztec/aztec.js": "2.1.0-rc.24",
|
|
75
|
+
"@aztec/constants": "2.1.0-rc.24",
|
|
76
|
+
"@aztec/entrypoints": "2.1.0-rc.24",
|
|
77
|
+
"@aztec/ethereum": "2.1.0-rc.24",
|
|
78
|
+
"@aztec/foundation": "2.1.0-rc.24",
|
|
79
|
+
"@aztec/l1-artifacts": "2.1.0-rc.24",
|
|
80
|
+
"@aztec/node-lib": "2.1.0-rc.24",
|
|
81
|
+
"@aztec/p2p": "2.1.0-rc.24",
|
|
82
|
+
"@aztec/stdlib": "2.1.0-rc.24",
|
|
83
|
+
"@aztec/world-state": "2.1.0-rc.24",
|
|
84
84
|
"@iarna/toml": "^2.2.5",
|
|
85
85
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
86
86
|
"commander": "^12.1.0",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@aztec/accounts": "2.1.0-rc.
|
|
96
|
-
"@aztec/protocol-contracts": "2.1.0-rc.
|
|
95
|
+
"@aztec/accounts": "2.1.0-rc.24",
|
|
96
|
+
"@aztec/protocol-contracts": "2.1.0-rc.24",
|
|
97
97
|
"@jest/globals": "^30.0.0",
|
|
98
98
|
"@types/jest": "^30.0.0",
|
|
99
99
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -109,15 +109,15 @@
|
|
|
109
109
|
"typescript": "^5.3.3"
|
|
110
110
|
},
|
|
111
111
|
"peerDependencies": {
|
|
112
|
-
"@aztec/accounts": "2.1.0-rc.
|
|
113
|
-
"@aztec/bb-prover": "2.1.0-rc.
|
|
114
|
-
"@aztec/ethereum": "2.1.0-rc.
|
|
115
|
-
"@aztec/l1-artifacts": "2.1.0-rc.
|
|
116
|
-
"@aztec/noir-contracts.js": "2.1.0-rc.
|
|
117
|
-
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.
|
|
118
|
-
"@aztec/noir-test-contracts.js": "2.1.0-rc.
|
|
119
|
-
"@aztec/protocol-contracts": "2.1.0-rc.
|
|
120
|
-
"@aztec/stdlib": "2.1.0-rc.
|
|
112
|
+
"@aztec/accounts": "2.1.0-rc.24",
|
|
113
|
+
"@aztec/bb-prover": "2.1.0-rc.24",
|
|
114
|
+
"@aztec/ethereum": "2.1.0-rc.24",
|
|
115
|
+
"@aztec/l1-artifacts": "2.1.0-rc.24",
|
|
116
|
+
"@aztec/noir-contracts.js": "2.1.0-rc.24",
|
|
117
|
+
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.24",
|
|
118
|
+
"@aztec/noir-test-contracts.js": "2.1.0-rc.24",
|
|
119
|
+
"@aztec/protocol-contracts": "2.1.0-rc.24",
|
|
120
|
+
"@aztec/stdlib": "2.1.0-rc.24"
|
|
121
121
|
},
|
|
122
122
|
"files": [
|
|
123
123
|
"dest",
|
|
@@ -33,6 +33,8 @@ export type L2ChainConfig = L1ContractsConfig &
|
|
|
33
33
|
publicIncludeMetrics?: string[];
|
|
34
34
|
publicMetricsCollectorUrl?: string;
|
|
35
35
|
publicMetricsCollectFrom?: string[];
|
|
36
|
+
skipArchiverInitialSync?: boolean;
|
|
37
|
+
blobAllowEmptySources?: boolean;
|
|
36
38
|
|
|
37
39
|
// Setting the dbMapSize provides the default for every DB in the node.
|
|
38
40
|
// Then we explicitly override the sizes for the archiver and the larger trees.
|
|
@@ -110,6 +112,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
|
|
|
110
112
|
publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
|
|
111
113
|
publicMetricsCollectFrom: ['sequencer'],
|
|
112
114
|
txPoolDeleteTxsAfterReorg: false,
|
|
115
|
+
blobAllowEmptySources: true,
|
|
113
116
|
|
|
114
117
|
/** How many seconds an L1 slot lasts. */
|
|
115
118
|
ethereumSlotDuration: 12,
|
|
@@ -246,6 +249,8 @@ export const testnetL2ChainConfig: L2ChainConfig = {
|
|
|
246
249
|
publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
|
|
247
250
|
publicMetricsCollectFrom: ['sequencer'],
|
|
248
251
|
txPoolDeleteTxsAfterReorg: true,
|
|
252
|
+
skipArchiverInitialSync: true,
|
|
253
|
+
blobAllowEmptySources: true,
|
|
249
254
|
|
|
250
255
|
// Deployment stuff
|
|
251
256
|
/** How many seconds an L1 slot lasts. */
|
|
@@ -415,6 +420,14 @@ export function enrichEnvironmentWithChainConfig(networkName: NetworkNames) {
|
|
|
415
420
|
enrichVar('NULLIFIER_TREE_MAP_SIZE_KB', config.nullifierTreeMapSizeKb.toString());
|
|
416
421
|
enrichVar('PUBLIC_DATA_TREE_MAP_SIZE_KB', config.publicDataTreeMapSizeKb.toString());
|
|
417
422
|
|
|
423
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
424
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
428
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
429
|
+
}
|
|
430
|
+
|
|
418
431
|
if (config.autoUpdate) {
|
|
419
432
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
420
433
|
}
|