@aztec/cli 2.0.3 → 2.0.4
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.
|
@@ -22,6 +22,8 @@ export type L2ChainConfig = L1ContractsConfig & Pick<P2PConfig, 'txPoolDeleteTxs
|
|
|
22
22
|
publicIncludeMetrics?: string[];
|
|
23
23
|
publicMetricsCollectorUrl?: string;
|
|
24
24
|
publicMetricsCollectFrom?: string[];
|
|
25
|
+
skipArchiverInitialSync?: boolean;
|
|
26
|
+
blobAllowEmptySources?: boolean;
|
|
25
27
|
sentinelEnabled: boolean;
|
|
26
28
|
};
|
|
27
29
|
export declare const stagingIgnitionL2ChainConfig: L2ChainConfig;
|
|
@@ -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,EAAU,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAErE,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;AAOrE,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,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sB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AiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;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;IAGhC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAoCJ,eAAO,MAAM,4BAA4B,EAAE,aA4E1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAgDxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAqDlC,CAAC;AAIF,wBAAsB,YAAY,CAAC,WAAW,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,gBAgC9E;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAkBpC;AAuBD,wBAAsB,gCAAgC,CAAC,WAAW,EAAE,YAAY,iBAiG/E"}
|
|
@@ -53,6 +53,7 @@ export const stagingIgnitionL2ChainConfig = {
|
|
|
53
53
|
'sequencer'
|
|
54
54
|
],
|
|
55
55
|
txPoolDeleteTxsAfterReorg: false,
|
|
56
|
+
blobAllowEmptySources: true,
|
|
56
57
|
/** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
|
|
57
58
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 72,
|
|
58
59
|
/** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
|
|
@@ -152,6 +153,8 @@ export const testnetL2ChainConfig = {
|
|
|
152
153
|
'sequencer'
|
|
153
154
|
],
|
|
154
155
|
txPoolDeleteTxsAfterReorg: true,
|
|
156
|
+
skipArchiverInitialSync: true,
|
|
157
|
+
blobAllowEmptySources: true,
|
|
155
158
|
// Deployment stuff
|
|
156
159
|
/** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
|
|
157
160
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
|
|
@@ -265,6 +268,12 @@ export async function enrichEnvironmentWithChainConfig(networkName) {
|
|
|
265
268
|
enrichVar('PXE_PROVER_ENABLED', config.realProofs.toString());
|
|
266
269
|
enrichVar('SYNC_SNAPSHOTS_URL', config.snapshotsUrl);
|
|
267
270
|
enrichVar('P2P_MAX_TX_POOL_SIZE', config.maxTxPoolSize.toString());
|
|
271
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
272
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
273
|
+
}
|
|
274
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
275
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
276
|
+
}
|
|
268
277
|
if (config.autoUpdate) {
|
|
269
278
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
270
279
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
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.0.
|
|
74
|
-
"@aztec/aztec.js": "2.0.
|
|
75
|
-
"@aztec/constants": "2.0.
|
|
76
|
-
"@aztec/entrypoints": "2.0.
|
|
77
|
-
"@aztec/ethereum": "2.0.
|
|
78
|
-
"@aztec/foundation": "2.0.
|
|
79
|
-
"@aztec/l1-artifacts": "2.0.
|
|
80
|
-
"@aztec/node-lib": "2.0.
|
|
81
|
-
"@aztec/p2p": "2.0.
|
|
82
|
-
"@aztec/stdlib": "2.0.
|
|
83
|
-
"@aztec/world-state": "2.0.
|
|
73
|
+
"@aztec/archiver": "2.0.4",
|
|
74
|
+
"@aztec/aztec.js": "2.0.4",
|
|
75
|
+
"@aztec/constants": "2.0.4",
|
|
76
|
+
"@aztec/entrypoints": "2.0.4",
|
|
77
|
+
"@aztec/ethereum": "2.0.4",
|
|
78
|
+
"@aztec/foundation": "2.0.4",
|
|
79
|
+
"@aztec/l1-artifacts": "2.0.4",
|
|
80
|
+
"@aztec/node-lib": "2.0.4",
|
|
81
|
+
"@aztec/p2p": "2.0.4",
|
|
82
|
+
"@aztec/stdlib": "2.0.4",
|
|
83
|
+
"@aztec/world-state": "2.0.4",
|
|
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": "2.23.7"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@aztec/accounts": "2.0.
|
|
96
|
-
"@aztec/protocol-contracts": "2.0.
|
|
95
|
+
"@aztec/accounts": "2.0.4",
|
|
96
|
+
"@aztec/protocol-contracts": "2.0.4",
|
|
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.0.
|
|
113
|
-
"@aztec/bb-prover": "2.0.
|
|
114
|
-
"@aztec/ethereum": "2.0.
|
|
115
|
-
"@aztec/l1-artifacts": "2.0.
|
|
116
|
-
"@aztec/noir-contracts.js": "2.0.
|
|
117
|
-
"@aztec/noir-protocol-circuits-types": "2.0.
|
|
118
|
-
"@aztec/noir-test-contracts.js": "2.0.
|
|
119
|
-
"@aztec/protocol-contracts": "2.0.
|
|
120
|
-
"@aztec/stdlib": "2.0.
|
|
112
|
+
"@aztec/accounts": "2.0.4",
|
|
113
|
+
"@aztec/bb-prover": "2.0.4",
|
|
114
|
+
"@aztec/ethereum": "2.0.4",
|
|
115
|
+
"@aztec/l1-artifacts": "2.0.4",
|
|
116
|
+
"@aztec/noir-contracts.js": "2.0.4",
|
|
117
|
+
"@aztec/noir-protocol-circuits-types": "2.0.4",
|
|
118
|
+
"@aztec/noir-test-contracts.js": "2.0.4",
|
|
119
|
+
"@aztec/protocol-contracts": "2.0.4",
|
|
120
|
+
"@aztec/stdlib": "2.0.4"
|
|
121
121
|
},
|
|
122
122
|
"files": [
|
|
123
123
|
"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
|
// Control whether sentinel is enabled or not. Needed for slashing
|
|
36
38
|
sentinelEnabled: boolean;
|
|
@@ -90,6 +92,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
|
|
|
90
92
|
publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
|
|
91
93
|
publicMetricsCollectFrom: ['sequencer'],
|
|
92
94
|
txPoolDeleteTxsAfterReorg: false,
|
|
95
|
+
blobAllowEmptySources: true,
|
|
93
96
|
|
|
94
97
|
/** How many seconds an L1 slot lasts. */
|
|
95
98
|
ethereumSlotDuration: 12,
|
|
@@ -217,6 +220,8 @@ export const testnetL2ChainConfig: L2ChainConfig = {
|
|
|
217
220
|
publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
|
|
218
221
|
publicMetricsCollectFrom: ['sequencer'],
|
|
219
222
|
txPoolDeleteTxsAfterReorg: true,
|
|
223
|
+
skipArchiverInitialSync: true,
|
|
224
|
+
blobAllowEmptySources: true,
|
|
220
225
|
|
|
221
226
|
// Deployment stuff
|
|
222
227
|
/** How many seconds an L1 slot lasts. */
|
|
@@ -355,6 +360,14 @@ export async function enrichEnvironmentWithChainConfig(networkName: NetworkNames
|
|
|
355
360
|
enrichVar('SYNC_SNAPSHOTS_URL', config.snapshotsUrl);
|
|
356
361
|
enrichVar('P2P_MAX_TX_POOL_SIZE', config.maxTxPoolSize.toString());
|
|
357
362
|
|
|
363
|
+
if (config.skipArchiverInitialSync !== undefined) {
|
|
364
|
+
enrichVar('SKIP_ARCHIVER_INITIAL_SYNC', config.skipArchiverInitialSync.toString());
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (config.blobAllowEmptySources !== undefined) {
|
|
368
|
+
enrichVar('BLOB_ALLOW_EMPTY_SOURCES', config.blobAllowEmptySources.toString());
|
|
369
|
+
}
|
|
370
|
+
|
|
358
371
|
if (config.autoUpdate) {
|
|
359
372
|
enrichVar('AUTO_UPDATE', config.autoUpdate?.toString());
|
|
360
373
|
}
|