@aztec/cli 3.0.0-rc.2 → 3.0.0-rc.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.
@@ -202,7 +202,7 @@ export const testnetL2ChainConfig = {
202
202
  disableTransactions: true,
203
203
  bootstrapNodes: [],
204
204
  minTxsPerBlock: 0,
205
- maxTxsPerBlock: 0,
205
+ maxTxsPerBlock: 20,
206
206
  realProofs: true,
207
207
  snapshotsUrls: [
208
208
  `${SNAPSHOTS_URL}/testnet/`
@@ -222,40 +222,40 @@ export const testnetL2ChainConfig = {
222
222
  /** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
223
223
  /** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 72,
224
224
  /** How many L2 slots an epoch lasts. */ aztecEpochDuration: 32,
225
- /** The target validator committee size. */ aztecTargetCommitteeSize: 24,
225
+ /** The target validator committee size. */ aztecTargetCommitteeSize: 48,
226
226
  /** The number of epochs to lag behind the current epoch for validator selection. */ lagInEpochsForValidatorSet: 2,
227
227
  /** The number of epochs to lag behind the current epoch for randao selection. */ lagInEpochsForRandao: 2,
228
228
  /** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
229
- // This is a diff from mainnet: we have 2-strikes you're out, rather than 3 on mainnet.
230
- localEjectionThreshold: 198_000n * 10n ** 18n,
231
- /** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 65,
232
- slashingRoundSizeInEpochs: 4,
233
- slashingExecutionDelayInRounds: 28,
234
- slashingLifetimeInRounds: 34,
235
- slashingVetoer: EthAddress.fromString('0xBbB4aF368d02827945748b28CD4b2D42e4A37480'),
229
+ // This is a diff from mainnet: we have 1-strike you're out, rather than 3 on mainnet.
230
+ localEjectionThreshold: 199_000n * 10n ** 18n,
231
+ /** How many sequencers must agree with a slash for it to be executed. */ slashingQuorum: 33,
232
+ slashingRoundSizeInEpochs: 2,
233
+ slashingExecutionDelayInRounds: 2,
234
+ slashingLifetimeInRounds: 5,
235
+ slashingVetoer: EthAddress.fromString('0xdfe19Da6a717b7088621d8bBB66be59F2d78e924'),
236
236
  slashingOffsetInRounds: 2,
237
- slashingDisableDuration: 259_200,
237
+ slashingDisableDuration: 5 * 24 * 60 * 60,
238
238
  slasherFlavor: 'tally',
239
- slashAmountSmall: 2_000n * 10n ** 18n,
240
- slashAmountMedium: 2_000n * 10n ** 18n,
241
- slashAmountLarge: 2_000n * 10n ** 18n,
242
- /** The mana target for the rollup */ manaTarget: 0n,
243
- /** The proving cost per mana */ provingCostPerMana: 0n,
239
+ slashAmountSmall: 10_000n * 10n ** 18n,
240
+ slashAmountMedium: 50_000n * 10n ** 18n,
241
+ slashAmountLarge: 200_000n * 10n ** 18n,
242
+ /** The mana target for the rollup */ manaTarget: 150_000_000n,
243
+ /** The proving cost per mana */ provingCostPerMana: 100n,
244
244
  exitDelaySeconds: 4 * 24 * 60 * 60,
245
245
  activationThreshold: 200_000n * 10n ** 18n,
246
246
  ejectionThreshold: 100_000n * 10n ** 18n,
247
- governanceProposerRoundSize: 300,
248
- governanceProposerQuorum: 151,
247
+ governanceProposerRoundSize: 100,
248
+ governanceProposerQuorum: 60,
249
249
  // Node slashing config
250
250
  slashInactivityTargetPercentage: 0.8,
251
251
  slashInactivityConsecutiveEpochThreshold: 2,
252
- slashInactivityPenalty: 2_000n * 10n ** 18n,
252
+ slashInactivityPenalty: 10_000n * 10n ** 18n,
253
253
  slashPrunePenalty: 0n,
254
254
  slashDataWithholdingPenalty: 0n,
255
- slashProposeInvalidAttestationsPenalty: 2_000n * 10n ** 18n,
256
- slashAttestDescendantOfInvalidPenalty: 2_000n * 10n ** 18n,
257
- slashUnknownPenalty: 2_000n * 10n ** 18n,
258
- slashBroadcastedInvalidBlockPenalty: 2_000n * 10n ** 18n,
255
+ slashProposeInvalidAttestationsPenalty: 10_000n * 10n ** 18n,
256
+ slashAttestDescendantOfInvalidPenalty: 10_000n * 10n ** 18n,
257
+ slashUnknownPenalty: 10_000n * 10n ** 18n,
258
+ slashBroadcastedInvalidBlockPenalty: 10_000n * 10n ** 18n,
259
259
  slashGracePeriodL2Slots: 1_200,
260
260
  slashOffenseExpirationRounds: 8,
261
261
  slashMinPenaltyPercentage: 0.5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.4",
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-rc.2",
78
- "@aztec/archiver": "3.0.0-rc.2",
79
- "@aztec/aztec.js": "3.0.0-rc.2",
80
- "@aztec/constants": "3.0.0-rc.2",
81
- "@aztec/entrypoints": "3.0.0-rc.2",
82
- "@aztec/ethereum": "3.0.0-rc.2",
83
- "@aztec/foundation": "3.0.0-rc.2",
84
- "@aztec/l1-artifacts": "3.0.0-rc.2",
85
- "@aztec/node-keystore": "3.0.0-rc.2",
86
- "@aztec/node-lib": "3.0.0-rc.2",
87
- "@aztec/p2p": "3.0.0-rc.2",
88
- "@aztec/protocol-contracts": "3.0.0-rc.2",
89
- "@aztec/stdlib": "3.0.0-rc.2",
90
- "@aztec/test-wallet": "3.0.0-rc.2",
91
- "@aztec/world-state": "3.0.0-rc.2",
77
+ "@aztec/accounts": "3.0.0-rc.4",
78
+ "@aztec/archiver": "3.0.0-rc.4",
79
+ "@aztec/aztec.js": "3.0.0-rc.4",
80
+ "@aztec/constants": "3.0.0-rc.4",
81
+ "@aztec/entrypoints": "3.0.0-rc.4",
82
+ "@aztec/ethereum": "3.0.0-rc.4",
83
+ "@aztec/foundation": "3.0.0-rc.4",
84
+ "@aztec/l1-artifacts": "3.0.0-rc.4",
85
+ "@aztec/node-keystore": "3.0.0-rc.4",
86
+ "@aztec/node-lib": "3.0.0-rc.4",
87
+ "@aztec/p2p": "3.0.0-rc.4",
88
+ "@aztec/protocol-contracts": "3.0.0-rc.4",
89
+ "@aztec/stdlib": "3.0.0-rc.4",
90
+ "@aztec/test-wallet": "3.0.0-rc.4",
91
+ "@aztec/world-state": "3.0.0-rc.4",
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-rc.2",
106
- "@aztec/kv-store": "3.0.0-rc.2",
107
- "@aztec/telemetry-client": "3.0.0-rc.2",
105
+ "@aztec/aztec-node": "3.0.0-rc.4",
106
+ "@aztec/kv-store": "3.0.0-rc.4",
107
+ "@aztec/telemetry-client": "3.0.0-rc.4",
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-rc.2",
125
- "@aztec/bb-prover": "3.0.0-rc.2",
126
- "@aztec/ethereum": "3.0.0-rc.2",
127
- "@aztec/l1-artifacts": "3.0.0-rc.2",
128
- "@aztec/noir-contracts.js": "3.0.0-rc.2",
129
- "@aztec/noir-protocol-circuits-types": "3.0.0-rc.2",
130
- "@aztec/noir-test-contracts.js": "3.0.0-rc.2",
131
- "@aztec/protocol-contracts": "3.0.0-rc.2",
132
- "@aztec/stdlib": "3.0.0-rc.2"
124
+ "@aztec/accounts": "3.0.0-rc.4",
125
+ "@aztec/bb-prover": "3.0.0-rc.4",
126
+ "@aztec/ethereum": "3.0.0-rc.4",
127
+ "@aztec/l1-artifacts": "3.0.0-rc.4",
128
+ "@aztec/noir-contracts.js": "3.0.0-rc.4",
129
+ "@aztec/noir-protocol-circuits-types": "3.0.0-rc.4",
130
+ "@aztec/noir-test-contracts.js": "3.0.0-rc.4",
131
+ "@aztec/protocol-contracts": "3.0.0-rc.4",
132
+ "@aztec/stdlib": "3.0.0-rc.4"
133
133
  },
134
134
  "files": [
135
135
  "dest",
@@ -302,7 +302,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
302
302
  disableTransactions: true,
303
303
  bootstrapNodes: [],
304
304
  minTxsPerBlock: 0,
305
- maxTxsPerBlock: 0,
305
+ maxTxsPerBlock: 20,
306
306
  realProofs: true,
307
307
  snapshotsUrls: [`${SNAPSHOTS_URL}/testnet/`],
308
308
  autoUpdate: 'config-and-version',
@@ -323,7 +323,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
323
323
  /** How many L2 slots an epoch lasts. */
324
324
  aztecEpochDuration: 32,
325
325
  /** The target validator committee size. */
326
- aztecTargetCommitteeSize: 24,
326
+ aztecTargetCommitteeSize: 48,
327
327
  /** The number of epochs to lag behind the current epoch for validator selection. */
328
328
  lagInEpochsForValidatorSet: 2,
329
329
  /** The number of epochs to lag behind the current epoch for randao selection. */
@@ -331,47 +331,47 @@ export const testnetL2ChainConfig: L2ChainConfig = {
331
331
  /** The number of epochs after an epoch ends that proofs are still accepted. */
332
332
  aztecProofSubmissionEpochs: 1,
333
333
 
334
- // This is a diff from mainnet: we have 2-strikes you're out, rather than 3 on mainnet.
335
- localEjectionThreshold: 198_000n * 10n ** 18n,
334
+ // This is a diff from mainnet: we have 1-strike you're out, rather than 3 on mainnet.
335
+ localEjectionThreshold: 199_000n * 10n ** 18n,
336
336
  /** How many sequencers must agree with a slash for it to be executed. */
337
- slashingQuorum: 65,
338
- slashingRoundSizeInEpochs: 4,
339
- slashingExecutionDelayInRounds: 28,
340
- slashingLifetimeInRounds: 34,
341
- slashingVetoer: EthAddress.fromString('0xBbB4aF368d02827945748b28CD4b2D42e4A37480'),
337
+ slashingQuorum: 33,
338
+ slashingRoundSizeInEpochs: 2,
339
+ slashingExecutionDelayInRounds: 2,
340
+ slashingLifetimeInRounds: 5,
341
+ slashingVetoer: EthAddress.fromString('0xdfe19Da6a717b7088621d8bBB66be59F2d78e924'),
342
342
  slashingOffsetInRounds: 2,
343
343
 
344
- slashingDisableDuration: 259_200, // 3 days
344
+ slashingDisableDuration: 5 * 24 * 60 * 60, // 5 days
345
345
  slasherFlavor: 'tally',
346
346
 
347
- slashAmountSmall: 2_000n * 10n ** 18n,
348
- slashAmountMedium: 2_000n * 10n ** 18n,
349
- slashAmountLarge: 2_000n * 10n ** 18n,
347
+ slashAmountSmall: 10_000n * 10n ** 18n,
348
+ slashAmountMedium: 50_000n * 10n ** 18n,
349
+ slashAmountLarge: 200_000n * 10n ** 18n,
350
350
 
351
351
  /** The mana target for the rollup */
352
- manaTarget: 0n,
352
+ manaTarget: 150_000_000n,
353
353
 
354
354
  /** The proving cost per mana */
355
- provingCostPerMana: 0n,
355
+ provingCostPerMana: 100n,
356
356
 
357
357
  exitDelaySeconds: 4 * 24 * 60 * 60, // 4 days
358
358
 
359
359
  activationThreshold: 200_000n * 10n ** 18n,
360
360
  ejectionThreshold: 100_000n * 10n ** 18n,
361
361
 
362
- governanceProposerRoundSize: 300,
363
- governanceProposerQuorum: 151,
362
+ governanceProposerRoundSize: 100,
363
+ governanceProposerQuorum: 60,
364
364
 
365
365
  // Node slashing config
366
366
  slashInactivityTargetPercentage: 0.8,
367
367
  slashInactivityConsecutiveEpochThreshold: 2,
368
- slashInactivityPenalty: 2_000n * 10n ** 18n,
368
+ slashInactivityPenalty: 10_000n * 10n ** 18n,
369
369
  slashPrunePenalty: 0n, // 2_000n * 10n ** 18n, We disable slashing for prune offenses right now
370
370
  slashDataWithholdingPenalty: 0n, // 2_000n * 10n ** 18n, We disable slashing for data withholding offenses right now
371
- slashProposeInvalidAttestationsPenalty: 2_000n * 10n ** 18n,
372
- slashAttestDescendantOfInvalidPenalty: 2_000n * 10n ** 18n,
373
- slashUnknownPenalty: 2_000n * 10n ** 18n,
374
- slashBroadcastedInvalidBlockPenalty: 2_000n * 10n ** 18n, // 10_000n * 10n ** 18n, Disabled for now until further testing
371
+ slashProposeInvalidAttestationsPenalty: 10_000n * 10n ** 18n,
372
+ slashAttestDescendantOfInvalidPenalty: 10_000n * 10n ** 18n,
373
+ slashUnknownPenalty: 10_000n * 10n ** 18n,
374
+ slashBroadcastedInvalidBlockPenalty: 10_000n * 10n ** 18n, // 10_000n * 10n ** 18n, Disabled for now until further testing
375
375
  slashGracePeriodL2Slots: 1_200, // One day from deployment
376
376
  slashOffenseExpirationRounds: 8,
377
377