@@ -44,6 +44,7 @@ export type L2ChainConfig = L1ContractsConfig &
4444
4545 // Control whether sentinel is enabled or not. Needed for slashing
4646 sentinelEnabled : boolean ;
47+ disableTransactions : boolean ;
4748 } ;
4849
4950const DefaultSlashConfig = {
@@ -95,6 +96,7 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
9596 l1ChainId : 11155111 ,
9697 testAccounts : false ,
9798 sponsoredFPC : false ,
99+ disableTransactions : true ,
98100 p2pEnabled : true ,
99101 p2pBootstrapNodes : [ ] ,
100102 seqMinTxsPerBlock : 0 ,
@@ -176,6 +178,7 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
176178 l1ChainId : 11155111 ,
177179 testAccounts : false ,
178180 sponsoredFPC : true ,
181+ disableTransactions : false ,
179182 p2pEnabled : true ,
180183 p2pBootstrapNodes : [ ] ,
181184 seqMinTxsPerBlock : 0 ,
@@ -230,9 +233,10 @@ export const testnetL2ChainConfig: L2ChainConfig = {
230233 testAccounts : false ,
231234 sponsoredFPC : true ,
232235 p2pEnabled : true ,
236+ disableTransactions : true ,
233237 p2pBootstrapNodes : [ ] ,
234238 seqMinTxsPerBlock : 0 ,
235- seqMaxTxsPerBlock : 20 ,
239+ seqMaxTxsPerBlock : 0 ,
236240 realProofs : true ,
237241 snapshotsUrls : [ `${ SNAPSHOTS_URL } /testnet/` ] ,
238242 autoUpdate : 'config-and-version' ,
@@ -267,7 +271,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
267271 /** Governance proposing round size */
268272 governanceProposerRoundSize : DefaultL1ContractsConfig . governanceProposerRoundSize ,
269273 /** The mana target for the rollup */
270- manaTarget : DefaultL1ContractsConfig . manaTarget ,
274+ manaTarget : 0n ,
271275 /** The proving cost per mana */
272276 provingCostPerMana : DefaultL1ContractsConfig . provingCostPerMana ,
273277 /** Exit delay for stakers */
@@ -286,6 +290,7 @@ export const ignitionL2ChainConfig: L2ChainConfig = {
286290 testAccounts : false ,
287291 sponsoredFPC : false ,
288292 p2pEnabled : true ,
293+ disableTransactions : true ,
289294 p2pBootstrapNodes : [ ] ,
290295 seqMinTxsPerBlock : 0 ,
291296 seqMaxTxsPerBlock : 0 ,
@@ -471,4 +476,5 @@ export function enrichEnvironmentWithChainConfig(networkName: NetworkNames) {
471476 enrichVar ( 'SLASH_MAX_PAYLOAD_SIZE' , config . slashMaxPayloadSize . toString ( ) ) ;
472477
473478 enrichVar ( 'SENTINEL_ENABLED' , config . sentinelEnabled . toString ( ) ) ;
479+ enrichVar ( 'TRANSACTIONS_DISABLED' , config . disableTransactions . toString ( ) ) ;
474480}
0 commit comments