@@ -291,11 +291,13 @@ export const testnetL2ChainConfig: L2ChainConfig = {
291291} ;
292292
293293export const mainnetL2ChainConfig : L2ChainConfig = {
294+ txPoolDeleteTxsAfterReorg : true ,
295+ disableTransactions : true ,
296+
294297 l1ChainId : 1 ,
295298 testAccounts : false ,
296299 sponsoredFPC : false ,
297300 p2pEnabled : true ,
298- disableTransactions : true ,
299301 p2pBootstrapNodes : [ ] ,
300302 seqMinTxsPerBlock : 0 ,
301303 seqMaxTxsPerBlock : 0 ,
@@ -307,7 +309,6 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
307309 publicIncludeMetrics,
308310 publicMetricsCollectorUrl : 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics' ,
309311 publicMetricsCollectFrom : [ 'sequencer' ] ,
310- txPoolDeleteTxsAfterReorg : false ,
311312
312313 /** How many seconds an L1 slot lasts. */
313314 ethereumSlotDuration : 12 ,
@@ -321,54 +322,58 @@ export const mainnetL2ChainConfig: L2ChainConfig = {
321322 lagInEpochs : 2 ,
322323 /** The number of epochs after an epoch ends that proofs are still accepted. */
323324 aztecProofSubmissionEpochs : 1 ,
325+
326+ localEjectionThreshold : 196_000n * 10n ** 18n ,
324327 /** How many sequencers must agree with a slash for it to be executed. */
325328 slashingQuorum : 65 ,
326-
327329 slashingRoundSizeInEpochs : 4 ,
328- slashingLifetimeInRounds : 40 ,
329330 slashingExecutionDelayInRounds : 28 ,
330- slashingDisableDuration : 5 * 24 * 60 * 60 , // 5 days in seconds
331- slashAmountSmall : 2_000n * 10n ** 18n ,
332- slashAmountMedium : 10_000n * 10n ** 18n ,
333- slashAmountLarge : 50_000n * 10n ** 18n ,
331+ slashingLifetimeInRounds : 34 ,
332+ slashingVetoer : EthAddress . ZERO , // TODO TMNT-329
334333 slashingOffsetInRounds : 2 ,
334+
335+ slashingDisableDuration : 259_200 , // 3 days
335336 slasherFlavor : 'tally' ,
336- slashingVetoer : EthAddress . ZERO , // TODO TMNT-329
337+
338+ slashAmountSmall : 2_000n * 10n ** 18n ,
339+ slashAmountMedium : 2_000n * 10n ** 18n ,
340+ slashAmountLarge : 2_000n * 10n ** 18n ,
337341
338342 /** The mana target for the rollup */
339343 manaTarget : 0n ,
340344
341- exitDelaySeconds : 5 * 24 * 60 * 60 ,
342-
343345 /** The proving cost per mana */
344346 provingCostPerMana : 0n ,
345347
346- ejectionThreshold : 100_000n * 10n ** 18n ,
348+ exitDelaySeconds : 4 * 24 * 60 * 60 , // 4 days
349+
347350 activationThreshold : 200_000n * 10n ** 18n ,
348- localEjectionThreshold : 196_000n * 10n ** 18n ,
351+ ejectionThreshold : 100_000n * 10n ** 18n ,
349352
350- governanceProposerRoundSize : 300 , // TODO TMNT-322
351- governanceProposerQuorum : 151 , // TODO TMNT-322
353+ governanceProposerRoundSize : 1000 ,
354+ governanceProposerQuorum : 600 ,
352355
353356 // Node slashing config
354357 // TODO TMNT-330
355- slashMinPenaltyPercentage : 0.5 ,
356- slashMaxPenaltyPercentage : 2.0 ,
357- slashInactivityTargetPercentage : 0.7 ,
358+ slashInactivityTargetPercentage : 0.8 ,
358359 slashInactivityConsecutiveEpochThreshold : 2 ,
359360 slashInactivityPenalty : 2_000n * 10n ** 18n ,
360361 slashPrunePenalty : 0n , // 2_000n * 10n ** 18n, We disable slashing for prune offenses right now
361362 slashDataWithholdingPenalty : 0n , // 2_000n * 10n ** 18n, We disable slashing for data withholding offenses right now
362- slashProposeInvalidAttestationsPenalty : 50_000n * 10n ** 18n ,
363- slashAttestDescendantOfInvalidPenalty : 50_000n * 10n ** 18n ,
363+ slashProposeInvalidAttestationsPenalty : 2_000n * 10n ** 18n ,
364+ slashAttestDescendantOfInvalidPenalty : 2_000n * 10n ** 18n ,
364365 slashUnknownPenalty : 2_000n * 10n ** 18n ,
365- slashBroadcastedInvalidBlockPenalty : 0n , // 10_000n * 10n ** 18n, Disabled for now until further testing
366- slashMaxPayloadSize : 50 ,
367- slashGracePeriodL2Slots : 32 * 4 , // One round from genesis
366+ slashBroadcastedInvalidBlockPenalty : 2_000n * 10n ** 18n , // 10_000n * 10n ** 18n, Disabled for now until further testing
367+ slashGracePeriodL2Slots : 1_200 , // One day from deployment
368368 slashOffenseExpirationRounds : 8 ,
369- sentinelEnabled : true ,
369+
370+ slashMinPenaltyPercentage : 0.5 ,
371+ slashMaxPenaltyPercentage : 2.0 ,
372+ slashMaxPayloadSize : 50 ,
370373 slashExecuteRoundsLookBack : 4 ,
371374
375+ sentinelEnabled : true ,
376+
372377 ...DefaultNetworkDBMapSizeConfig ,
373378} ;
374379
0 commit comments