@aztec/cli 3.0.0-nightly.20251031 → 3.0.0-nightly.20251102
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.
|
@@ -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,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;IAIhC,WAAW,EAAE,MAAM,CAAC;IACpB,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M,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;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,aAmFlC,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"}
|
|
@@ -253,45 +253,45 @@ export const mainnetL2ChainConfig = {
|
|
|
253
253
|
/** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 72,
|
|
254
254
|
/** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
|
|
255
255
|
/** The target validator committee size. */ aztecTargetCommitteeSize: 24,
|
|
256
|
-
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
257
|
-
/** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 65,
|
|
258
256
|
/** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochs: 2,
|
|
257
|
+
/** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
|
|
259
258
|
localEjectionThreshold: 196_000n * 10n ** 18n,
|
|
260
|
-
|
|
259
|
+
/** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 65,
|
|
261
260
|
slashingRoundSizeInEpochs: 4,
|
|
262
|
-
slashingLifetimeInRounds: 40,
|
|
263
261
|
slashingExecutionDelayInRounds: 28,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
slashAmountLarge: 50_000n * 10n ** 18n,
|
|
262
|
+
slashingLifetimeInRounds: 34,
|
|
263
|
+
slashingVetoer: EthAddress.ZERO,
|
|
267
264
|
slashingOffsetInRounds: 2,
|
|
265
|
+
slashingDisableDuration: 259_200,
|
|
268
266
|
slasherFlavor: 'tally',
|
|
269
|
-
|
|
267
|
+
slashAmountSmall: 2_000n * 10n ** 18n,
|
|
268
|
+
slashAmountMedium: 2_000n * 10n ** 18n,
|
|
269
|
+
slashAmountLarge: 2_000n * 10n ** 18n,
|
|
270
270
|
/** The mana target for the rollup */ manaTarget: 0n,
|
|
271
|
-
exitDelaySeconds: 5 * 24 * 60 * 60,
|
|
272
271
|
/** The proving cost per mana */ provingCostPerMana: 0n,
|
|
273
|
-
|
|
272
|
+
exitDelaySeconds: 4 * 24 * 60 * 60,
|
|
274
273
|
activationThreshold: 200_000n * 10n ** 18n,
|
|
275
|
-
|
|
276
|
-
|
|
274
|
+
ejectionThreshold: 100_000n * 10n ** 18n,
|
|
275
|
+
governanceProposerRoundSize: 1000,
|
|
276
|
+
governanceProposerQuorum: 600,
|
|
277
277
|
// Node slashing config
|
|
278
278
|
// TODO TMNT-330
|
|
279
|
-
|
|
280
|
-
slashMaxPenaltyPercentage: 2.0,
|
|
281
|
-
slashInactivityTargetPercentage: 0.7,
|
|
279
|
+
slashInactivityTargetPercentage: 0.8,
|
|
282
280
|
slashInactivityConsecutiveEpochThreshold: 2,
|
|
283
281
|
slashInactivityPenalty: 2_000n * 10n ** 18n,
|
|
284
282
|
slashPrunePenalty: 0n,
|
|
285
283
|
slashDataWithholdingPenalty: 0n,
|
|
286
|
-
slashProposeInvalidAttestationsPenalty:
|
|
287
|
-
slashAttestDescendantOfInvalidPenalty:
|
|
284
|
+
slashProposeInvalidAttestationsPenalty: 2_000n * 10n ** 18n,
|
|
285
|
+
slashAttestDescendantOfInvalidPenalty: 2_000n * 10n ** 18n,
|
|
288
286
|
slashUnknownPenalty: 2_000n * 10n ** 18n,
|
|
289
|
-
slashBroadcastedInvalidBlockPenalty:
|
|
290
|
-
|
|
291
|
-
slashGracePeriodL2Slots: 32 * 4,
|
|
287
|
+
slashBroadcastedInvalidBlockPenalty: 2_000n * 10n ** 18n,
|
|
288
|
+
slashGracePeriodL2Slots: 1_200,
|
|
292
289
|
slashOffenseExpirationRounds: 8,
|
|
293
|
-
|
|
290
|
+
slashMinPenaltyPercentage: 0.5,
|
|
291
|
+
slashMaxPenaltyPercentage: 2.0,
|
|
292
|
+
slashMaxPayloadSize: 50,
|
|
294
293
|
slashExecuteRoundsLookBack: 4,
|
|
294
|
+
sentinelEnabled: true,
|
|
295
295
|
...DefaultNetworkDBMapSizeConfig
|
|
296
296
|
};
|
|
297
297
|
export const devnetL2ChainConfig = {
|
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.20251102",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -71,21 +71,21 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
75
|
-
"@aztec/archiver": "3.0.0-nightly.
|
|
76
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
77
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
78
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
79
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
80
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
81
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
82
|
-
"@aztec/node-keystore": "3.0.0-nightly.
|
|
83
|
-
"@aztec/node-lib": "3.0.0-nightly.
|
|
84
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
85
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
86
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
87
|
-
"@aztec/test-wallet": "3.0.0-nightly.
|
|
88
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
74
|
+
"@aztec/accounts": "3.0.0-nightly.20251102",
|
|
75
|
+
"@aztec/archiver": "3.0.0-nightly.20251102",
|
|
76
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251102",
|
|
77
|
+
"@aztec/constants": "3.0.0-nightly.20251102",
|
|
78
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251102",
|
|
79
|
+
"@aztec/ethereum": "3.0.0-nightly.20251102",
|
|
80
|
+
"@aztec/foundation": "3.0.0-nightly.20251102",
|
|
81
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251102",
|
|
82
|
+
"@aztec/node-keystore": "3.0.0-nightly.20251102",
|
|
83
|
+
"@aztec/node-lib": "3.0.0-nightly.20251102",
|
|
84
|
+
"@aztec/p2p": "3.0.0-nightly.20251102",
|
|
85
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251102",
|
|
86
|
+
"@aztec/stdlib": "3.0.0-nightly.20251102",
|
|
87
|
+
"@aztec/test-wallet": "3.0.0-nightly.20251102",
|
|
88
|
+
"@aztec/world-state": "3.0.0-nightly.20251102",
|
|
89
89
|
"@ethersproject/wallet": "^5.8.0",
|
|
90
90
|
"@iarna/toml": "^2.2.5",
|
|
91
91
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
@@ -114,15 +114,15 @@
|
|
|
114
114
|
"typescript": "^5.3.3"
|
|
115
115
|
},
|
|
116
116
|
"peerDependencies": {
|
|
117
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
118
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
119
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
120
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
121
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
122
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
123
|
-
"@aztec/noir-test-contracts.js": "3.0.0-nightly.
|
|
124
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
125
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
117
|
+
"@aztec/accounts": "3.0.0-nightly.20251102",
|
|
118
|
+
"@aztec/bb-prover": "3.0.0-nightly.20251102",
|
|
119
|
+
"@aztec/ethereum": "3.0.0-nightly.20251102",
|
|
120
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251102",
|
|
121
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251102",
|
|
122
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251102",
|
|
123
|
+
"@aztec/noir-test-contracts.js": "3.0.0-nightly.20251102",
|
|
124
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251102",
|
|
125
|
+
"@aztec/stdlib": "3.0.0-nightly.20251102"
|
|
126
126
|
},
|
|
127
127
|
"files": [
|
|
128
128
|
"dest",
|
|
@@ -362,60 +362,62 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
|
|
|
362
362
|
aztecEpochDuration: 32,
|
|
363
363
|
/** The target validator committee size. */
|
|
364
364
|
aztecTargetCommitteeSize: 24,
|
|
365
|
-
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
366
|
-
aztecProofSubmissionEpochs: 1,
|
|
367
|
-
/** How many sequencers must agree with a slash for it to be executed. */
|
|
368
|
-
slashingQuorum: 65,
|
|
369
|
-
|
|
370
365
|
/** The number of epochs to lag behind the current epoch for validator selection. */
|
|
371
366
|
lagInEpochs: 2,
|
|
367
|
+
/** The number of epochs after an epoch ends that proofs are still accepted. */
|
|
368
|
+
aztecProofSubmissionEpochs: 1,
|
|
372
369
|
|
|
373
370
|
localEjectionThreshold: 196_000n * 10n ** 18n,
|
|
374
|
-
|
|
375
|
-
|
|
371
|
+
/** How many sequencers must agree with a slash for it to be executed. */
|
|
372
|
+
slashingQuorum: 65,
|
|
376
373
|
slashingRoundSizeInEpochs: 4,
|
|
377
|
-
slashingLifetimeInRounds: 40,
|
|
378
374
|
slashingExecutionDelayInRounds: 28,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
slashAmountLarge: 50_000n * 10n ** 18n,
|
|
375
|
+
slashingLifetimeInRounds: 34,
|
|
376
|
+
slashingVetoer: EthAddress.ZERO, // TODO TMNT-329
|
|
382
377
|
slashingOffsetInRounds: 2,
|
|
378
|
+
|
|
379
|
+
slashingDisableDuration: 259_200, // 3 days
|
|
383
380
|
slasherFlavor: 'tally',
|
|
384
|
-
|
|
381
|
+
|
|
382
|
+
slashAmountSmall: 2_000n * 10n ** 18n,
|
|
383
|
+
slashAmountMedium: 2_000n * 10n ** 18n,
|
|
384
|
+
slashAmountLarge: 2_000n * 10n ** 18n,
|
|
385
385
|
|
|
386
386
|
/** The mana target for the rollup */
|
|
387
387
|
manaTarget: 0n,
|
|
388
388
|
|
|
389
|
-
exitDelaySeconds: 5 * 24 * 60 * 60,
|
|
390
|
-
|
|
391
389
|
/** The proving cost per mana */
|
|
392
390
|
provingCostPerMana: 0n,
|
|
393
391
|
|
|
394
|
-
|
|
392
|
+
exitDelaySeconds: 4 * 24 * 60 * 60, // 4 days
|
|
393
|
+
|
|
395
394
|
activationThreshold: 200_000n * 10n ** 18n,
|
|
395
|
+
ejectionThreshold: 100_000n * 10n ** 18n,
|
|
396
396
|
|
|
397
|
-
governanceProposerRoundSize:
|
|
398
|
-
governanceProposerQuorum:
|
|
397
|
+
governanceProposerRoundSize: 1000,
|
|
398
|
+
governanceProposerQuorum: 600,
|
|
399
399
|
|
|
400
400
|
// Node slashing config
|
|
401
401
|
// TODO TMNT-330
|
|
402
|
-
|
|
403
|
-
slashMaxPenaltyPercentage: 2.0,
|
|
404
|
-
slashInactivityTargetPercentage: 0.7,
|
|
402
|
+
slashInactivityTargetPercentage: 0.8,
|
|
405
403
|
slashInactivityConsecutiveEpochThreshold: 2,
|
|
406
404
|
slashInactivityPenalty: 2_000n * 10n ** 18n,
|
|
407
405
|
slashPrunePenalty: 0n, // 2_000n * 10n ** 18n, We disable slashing for prune offenses right now
|
|
408
406
|
slashDataWithholdingPenalty: 0n, // 2_000n * 10n ** 18n, We disable slashing for data withholding offenses right now
|
|
409
|
-
slashProposeInvalidAttestationsPenalty:
|
|
410
|
-
slashAttestDescendantOfInvalidPenalty:
|
|
407
|
+
slashProposeInvalidAttestationsPenalty: 2_000n * 10n ** 18n,
|
|
408
|
+
slashAttestDescendantOfInvalidPenalty: 2_000n * 10n ** 18n,
|
|
411
409
|
slashUnknownPenalty: 2_000n * 10n ** 18n,
|
|
412
|
-
slashBroadcastedInvalidBlockPenalty:
|
|
413
|
-
|
|
414
|
-
slashGracePeriodL2Slots: 32 * 4, // One round from genesis
|
|
410
|
+
slashBroadcastedInvalidBlockPenalty: 2_000n * 10n ** 18n, // 10_000n * 10n ** 18n, Disabled for now until further testing
|
|
411
|
+
slashGracePeriodL2Slots: 1_200, // One day from deployment
|
|
415
412
|
slashOffenseExpirationRounds: 8,
|
|
416
|
-
|
|
413
|
+
|
|
414
|
+
slashMinPenaltyPercentage: 0.5,
|
|
415
|
+
slashMaxPenaltyPercentage: 2.0,
|
|
416
|
+
slashMaxPayloadSize: 50,
|
|
417
417
|
slashExecuteRoundsLookBack: 4,
|
|
418
418
|
|
|
419
|
+
sentinelEnabled: true,
|
|
420
|
+
|
|
419
421
|
...DefaultNetworkDBMapSizeConfig,
|
|
420
422
|
};
|
|
421
423
|
|