@aztec/cli 3.0.0-nightly.20260105 → 3.0.0-nightly.20260106
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.
|
@@ -38,4 +38,4 @@ export declare const devnetL2ChainConfig: L2ChainConfig;
|
|
|
38
38
|
export declare function getL2ChainConfig(networkName: NetworkNames): L2ChainConfig | undefined;
|
|
39
39
|
export declare function enrichEnvironmentWithChainName(networkName: NetworkNames): void;
|
|
40
40
|
export declare function enrichEnvironmentWithChainConfig(config: L2ChainConfig): void;
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhaW5fbDJfY29uZmlnLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29uZmlnL2NoYWluX2wyX2NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQTRCLEtBQUssaUJBQWlCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRixPQUFPLEtBQUssRUFBRSxlQUFlLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMxRSxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUU3RCxPQUFPLEtBQUssRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sS0FBSyxFQUFFLGVBQWUsRUFBRSxhQUFhLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQVl0RixNQUFNLE1BQU0sYUFBYSxHQUFHLElBQUksQ0FBQyxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQyxHQUN4RSxJQUFJLENBQUMsYUFBY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BAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAIhC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,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,aAsF1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aA0DxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aA0DlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aA4FlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aA2FlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aA0DjC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,YAAY,GAAG,aAAa,GAAG,SAAS,CAgBrF;AAMD,wBAAgB,8BAA8B,CAAC,WAAW,EAAE,YAAY,QAavE;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,aAAa,QAwGrE"}
|
|
@@ -74,6 +74,7 @@ export const stagingIgnitionL2ChainConfig = {
|
|
|
74
74
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 24,
|
|
75
75
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: 2,
|
|
76
76
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: 2,
|
|
77
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: 1,
|
|
77
78
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
78
79
|
/** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 65,
|
|
79
80
|
slashingRoundSizeInEpochs: 4,
|
|
@@ -144,6 +145,7 @@ export const stagingPublicL2ChainConfig = {
|
|
|
144
145
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 48,
|
|
145
146
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: DefaultL1ContractsConfig.lagInEpochsForValidatorSet,
|
|
146
147
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: DefaultL1ContractsConfig.lagInEpochsForRandao,
|
|
148
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
147
149
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
148
150
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
149
151
|
/** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
|
|
@@ -185,6 +187,7 @@ export const nextNetL2ChainConfig = {
|
|
|
185
187
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 48,
|
|
186
188
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: DefaultL1ContractsConfig.lagInEpochsForValidatorSet,
|
|
187
189
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: DefaultL1ContractsConfig.lagInEpochsForRandao,
|
|
190
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
188
191
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
189
192
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
190
193
|
/** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
|
|
@@ -229,6 +232,7 @@ export const testnetL2ChainConfig = {
|
|
|
229
232
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 48,
|
|
230
233
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: 2,
|
|
231
234
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: 2,
|
|
235
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: 1,
|
|
232
236
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
233
237
|
// This is a diff from mainnet: we have 1-strike you're out, rather than 3 on mainnet.
|
|
234
238
|
localEjectionThreshold: 199_000n * 10n ** 18n,
|
|
@@ -300,6 +304,7 @@ export const mainnetL2ChainConfig = {
|
|
|
300
304
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 24,
|
|
301
305
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: 2,
|
|
302
306
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: 2,
|
|
307
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: 1,
|
|
303
308
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
304
309
|
localEjectionThreshold: 196_000n * 10n ** 18n,
|
|
305
310
|
/** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 65,
|
|
@@ -368,6 +373,7 @@ export const devnetL2ChainConfig = {
|
|
|
368
373
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 1,
|
|
369
374
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: 1,
|
|
370
375
|
/** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: 1,
|
|
376
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */ inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
371
377
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */ localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
372
378
|
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
373
379
|
/** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
|
|
@@ -476,6 +482,7 @@ export function enrichEnvironmentWithChainConfig(config) {
|
|
|
476
482
|
enrichVar('AZTEC_TARGET_COMMITTEE_SIZE', config.aztecTargetCommitteeSize.toString());
|
|
477
483
|
enrichVar('AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET', config.lagInEpochsForValidatorSet.toString());
|
|
478
484
|
enrichVar('AZTEC_LAG_IN_EPOCHS_FOR_RANDAO', config.lagInEpochsForRandao.toString());
|
|
485
|
+
enrichVar('AZTEC_INBOX_LAG', config.inboxLag.toString());
|
|
479
486
|
enrichVar('AZTEC_PROOF_SUBMISSION_EPOCHS', config.aztecProofSubmissionEpochs.toString());
|
|
480
487
|
enrichVar('AZTEC_ACTIVATION_THRESHOLD', config.activationThreshold.toString());
|
|
481
488
|
enrichVar('AZTEC_EJECTION_THRESHOLD', config.ejectionThreshold.toString());
|
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.20260106",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -74,21 +74,21 @@
|
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
78
|
-
"@aztec/archiver": "3.0.0-nightly.
|
|
79
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
80
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
81
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
82
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
83
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
84
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
85
|
-
"@aztec/node-keystore": "3.0.0-nightly.
|
|
86
|
-
"@aztec/node-lib": "3.0.0-nightly.
|
|
87
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
88
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
89
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
90
|
-
"@aztec/test-wallet": "3.0.0-nightly.
|
|
91
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
77
|
+
"@aztec/accounts": "3.0.0-nightly.20260106",
|
|
78
|
+
"@aztec/archiver": "3.0.0-nightly.20260106",
|
|
79
|
+
"@aztec/aztec.js": "3.0.0-nightly.20260106",
|
|
80
|
+
"@aztec/constants": "3.0.0-nightly.20260106",
|
|
81
|
+
"@aztec/entrypoints": "3.0.0-nightly.20260106",
|
|
82
|
+
"@aztec/ethereum": "3.0.0-nightly.20260106",
|
|
83
|
+
"@aztec/foundation": "3.0.0-nightly.20260106",
|
|
84
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20260106",
|
|
85
|
+
"@aztec/node-keystore": "3.0.0-nightly.20260106",
|
|
86
|
+
"@aztec/node-lib": "3.0.0-nightly.20260106",
|
|
87
|
+
"@aztec/p2p": "3.0.0-nightly.20260106",
|
|
88
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20260106",
|
|
89
|
+
"@aztec/stdlib": "3.0.0-nightly.20260106",
|
|
90
|
+
"@aztec/test-wallet": "3.0.0-nightly.20260106",
|
|
91
|
+
"@aztec/world-state": "3.0.0-nightly.20260106",
|
|
92
92
|
"@ethersproject/wallet": "^5.8.0",
|
|
93
93
|
"@iarna/toml": "^2.2.5",
|
|
94
94
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"viem": "npm:@aztec/viem@2.38.2"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@aztec/aztec-node": "3.0.0-nightly.
|
|
106
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
107
|
-
"@aztec/telemetry-client": "3.0.0-nightly.
|
|
105
|
+
"@aztec/aztec-node": "3.0.0-nightly.20260106",
|
|
106
|
+
"@aztec/kv-store": "3.0.0-nightly.20260106",
|
|
107
|
+
"@aztec/telemetry-client": "3.0.0-nightly.20260106",
|
|
108
108
|
"@jest/globals": "^30.0.0",
|
|
109
109
|
"@types/jest": "^30.0.0",
|
|
110
110
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -121,15 +121,15 @@
|
|
|
121
121
|
"typescript": "^5.3.3"
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
125
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
126
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
127
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
128
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
129
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
130
|
-
"@aztec/noir-test-contracts.js": "3.0.0-nightly.
|
|
131
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
132
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
124
|
+
"@aztec/accounts": "3.0.0-nightly.20260106",
|
|
125
|
+
"@aztec/bb-prover": "3.0.0-nightly.20260106",
|
|
126
|
+
"@aztec/ethereum": "3.0.0-nightly.20260106",
|
|
127
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20260106",
|
|
128
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20260106",
|
|
129
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20260106",
|
|
130
|
+
"@aztec/noir-test-contracts.js": "3.0.0-nightly.20260106",
|
|
131
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20260106",
|
|
132
|
+
"@aztec/stdlib": "3.0.0-nightly.20260106"
|
|
133
133
|
},
|
|
134
134
|
"files": [
|
|
135
135
|
"dest",
|
|
@@ -129,6 +129,8 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
|
|
|
129
129
|
lagInEpochsForValidatorSet: 2,
|
|
130
130
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
131
131
|
lagInEpochsForRandao: 2,
|
|
132
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
133
|
+
inboxLag: 1,
|
|
132
134
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
133
135
|
aztecProofSubmissionEpochs: 1,
|
|
134
136
|
/** How many sequencers must agree with a slash for it to be executed. */
|
|
@@ -215,6 +217,8 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
|
|
|
215
217
|
lagInEpochsForValidatorSet: DefaultL1ContractsConfig.lagInEpochsForValidatorSet,
|
|
216
218
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
217
219
|
lagInEpochsForRandao: DefaultL1ContractsConfig.lagInEpochsForRandao,
|
|
220
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
221
|
+
inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
218
222
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */
|
|
219
223
|
localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
220
224
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
@@ -273,6 +277,8 @@ export const nextNetL2ChainConfig: L2ChainConfig = {
|
|
|
273
277
|
lagInEpochsForValidatorSet: DefaultL1ContractsConfig.lagInEpochsForValidatorSet,
|
|
274
278
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
275
279
|
lagInEpochsForRandao: DefaultL1ContractsConfig.lagInEpochsForRandao,
|
|
280
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
281
|
+
inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
276
282
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */
|
|
277
283
|
localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
278
284
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
@@ -332,6 +338,8 @@ export const testnetL2ChainConfig: L2ChainConfig = {
|
|
|
332
338
|
lagInEpochsForValidatorSet: 2,
|
|
333
339
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
334
340
|
lagInEpochsForRandao: 2,
|
|
341
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
342
|
+
inboxLag: 1,
|
|
335
343
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
336
344
|
aztecProofSubmissionEpochs: 1,
|
|
337
345
|
|
|
@@ -424,6 +432,8 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
|
|
|
424
432
|
lagInEpochsForValidatorSet: 2,
|
|
425
433
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
426
434
|
lagInEpochsForRandao: 2,
|
|
435
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
436
|
+
inboxLag: 1,
|
|
427
437
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
428
438
|
aztecProofSubmissionEpochs: 1,
|
|
429
439
|
|
|
@@ -514,6 +524,8 @@ export const devnetL2ChainConfig: L2ChainConfig = {
|
|
|
514
524
|
lagInEpochsForValidatorSet: 1,
|
|
515
525
|
/** The number of epochs to lag behind the current epoch for randao selection. */
|
|
516
526
|
lagInEpochsForRandao: 1,
|
|
527
|
+
/** The number of checkpoints to lag in the inbox (prevents sequencer DOS attacks). */
|
|
528
|
+
inboxLag: DefaultL1ContractsConfig.inboxLag,
|
|
517
529
|
/** The local ejection threshold for a validator. Stricter than ejectionThreshold but local to a specific rollup */
|
|
518
530
|
localEjectionThreshold: DefaultL1ContractsConfig.localEjectionThreshold,
|
|
519
531
|
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
@@ -638,6 +650,7 @@ export function enrichEnvironmentWithChainConfig(config: L2ChainConfig) {
|
|
|
638
650
|
enrichVar('AZTEC_TARGET_COMMITTEE_SIZE', config.aztecTargetCommitteeSize.toString());
|
|
639
651
|
enrichVar('AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET', config.lagInEpochsForValidatorSet.toString());
|
|
640
652
|
enrichVar('AZTEC_LAG_IN_EPOCHS_FOR_RANDAO', config.lagInEpochsForRandao.toString());
|
|
653
|
+
enrichVar('AZTEC_INBOX_LAG', config.inboxLag.toString());
|
|
641
654
|
enrichVar('AZTEC_PROOF_SUBMISSION_EPOCHS', config.aztecProofSubmissionEpochs.toString());
|
|
642
655
|
enrichVar('AZTEC_ACTIVATION_THRESHOLD', config.activationThreshold.toString());
|
|
643
656
|
enrichVar('AZTEC_EJECTION_THRESHOLD', config.ejectionThreshold.toString());
|