@@ -42,6 +42,7 @@ export type L2ChainConfig = L1ContractsConfig &
4242
4343 // Control whether sentinel is enabled or not. Needed for slashing
4444 sentinelEnabled : boolean ;
45+ disableTransactions : boolean ;
4546 } ;
4647
4748const DefaultSlashConfig = {
@@ -93,6 +94,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
9394 l1ChainId : 11155111 ,
9495 testAccounts : false ,
9596 sponsoredFPC : false ,
97+ disableTransactions : true ,
9698 p2pEnabled : true ,
9799 p2pBootstrapNodes : [ ] ,
98100 seqMinTxsPerBlock : 0 ,
@@ -173,6 +175,7 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
173175 l1ChainId : 11155111 ,
174176 testAccounts : false ,
175177 sponsoredFPC : true ,
178+ disableTransactions : false ,
176179 p2pEnabled : true ,
177180 p2pBootstrapNodes : [ ] ,
178181 seqMinTxsPerBlock : 0 ,
@@ -226,6 +229,7 @@ export const nextNetL2ChainConfig: L2ChainConfig = {
226229 testAccounts : true ,
227230 sponsoredFPC : true ,
228231 p2pEnabled : true ,
232+ disableTransactions : false ,
229233 p2pBootstrapNodes : [ ] ,
230234 seqMinTxsPerBlock : 0 ,
231235 seqMaxTxsPerBlock : 8 ,
@@ -278,9 +282,10 @@ export const testnetL2ChainConfig: L2ChainConfig = {
278282 testAccounts : false ,
279283 sponsoredFPC : true ,
280284 p2pEnabled : true ,
285+ disableTransactions : true ,
281286 p2pBootstrapNodes : [ ] ,
282287 seqMinTxsPerBlock : 0 ,
283- seqMaxTxsPerBlock : 20 ,
288+ seqMaxTxsPerBlock : 0 ,
284289 realProofs : true ,
285290 snapshotsUrls : [ `${ SNAPSHOTS_URL } /testnet/` ] ,
286291 autoUpdate : 'config-and-version' ,
@@ -314,7 +319,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
314319 /** Governance proposing round size */
315320 governanceProposerRoundSize : DefaultL1ContractsConfig . governanceProposerRoundSize ,
316321 /** The mana target for the rollup */
317- manaTarget : DefaultL1ContractsConfig . manaTarget ,
322+ manaTarget : 0n ,
318323 /** The proving cost per mana */
319324 provingCostPerMana : DefaultL1ContractsConfig . provingCostPerMana ,
320325 /** Exit delay for stakers */
@@ -332,6 +337,7 @@ export const ignitionL2ChainConfig: L2ChainConfig = {
332337 testAccounts : false ,
333338 sponsoredFPC : false ,
334339 p2pEnabled : true ,
340+ disableTransactions : true ,
335341 p2pBootstrapNodes : [ ] ,
336342 seqMinTxsPerBlock : 0 ,
337343 seqMaxTxsPerBlock : 0 ,
@@ -414,6 +420,7 @@ export const devnetL2ChainConfig: L2ChainConfig = {
414420 testAccounts : true ,
415421 sponsoredFPC : true ,
416422 p2pEnabled : true ,
423+ disableTransactions : false ,
417424 p2pBootstrapNodes : [ ] ,
418425 seqMinTxsPerBlock : 0 ,
419426 seqMaxTxsPerBlock : 8 ,
@@ -574,4 +581,5 @@ export function enrichEnvironmentWithChainConfig(networkName: NetworkNames) {
574581 enrichVar ( 'SLASH_MAX_PAYLOAD_SIZE' , config . slashMaxPayloadSize . toString ( ) ) ;
575582
576583 enrichVar ( 'SENTINEL_ENABLED' , config . sentinelEnabled . toString ( ) ) ;
584+ enrichVar ( 'TRANSACTIONS_DISABLED' , config . disableTransactions . toString ( ) ) ;
577585}
0 commit comments