diff --git a/go/config/enclave_cli_flags.go b/go/config/enclave_cli_flags.go index 0633920f80..d6c9c8f769 100644 --- a/go/config/enclave_cli_flags.go +++ b/go/config/enclave_cli_flags.go @@ -52,7 +52,7 @@ var EnclaveFlags = map[string]*flag.TenFlag{ MinGasPriceFlag: flag.NewInt64Flag(MinGasPriceFlag, 1, "The minimum gas price for mining a transaction"), MessageBusAddressFlag: flag.NewStringFlag(MessageBusAddressFlag, "", "The address of the L1 message bus contract owned by the management contract."), SequencerIDFlag: flag.NewStringFlag(SequencerIDFlag, "", "The 20 bytes of the address of the sequencer for this network"), - MaxBatchSizeFlag: flag.NewUint64Flag(MaxBatchSizeFlag, 1024*36, "The maximum size a batch is allowed to reach uncompressed"), + MaxBatchSizeFlag: flag.NewUint64Flag(MaxBatchSizeFlag, 1024*55, "The maximum size a batch is allowed to reach uncompressed"), MaxRollupSizeFlag: flag.NewUint64Flag(MaxRollupSizeFlag, 1024*64, "The maximum size a rollup is allowed to reach"), L2BaseFeeFlag: flag.NewUint64Flag(L2BaseFeeFlag, params.InitialBaseFee, ""), L2CoinbaseFlag: flag.NewStringFlag(L2CoinbaseFlag, "0xd6C9230053f45F873Cb66D8A02439380a37A4fbF", ""), diff --git a/go/node/docker_node.go b/go/node/docker_node.go index 7ce9cc5ec9..553cc0453d 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -179,7 +179,7 @@ func (d *DockerNode) startEnclave() error { "-logPath", "sys_out", "-logLevel", fmt.Sprintf("%d", log.LvlInfo), fmt.Sprintf("-debugNamespaceEnabled=%t", d.cfg.debugNamespaceEnabled), - "-maxBatchSize=36864", + "-maxBatchSize=56320", "-maxRollupSize=65536", fmt.Sprintf("-logLevel=%d", d.cfg.logLevel), "-obscuroGenesis", "{}", diff --git a/integration/common/constants.go b/integration/common/constants.go index c96503d3bc..9c802797c0 100644 --- a/integration/common/constants.go +++ b/integration/common/constants.go @@ -80,7 +80,7 @@ func DefaultEnclaveConfig() *config.EnclaveConfig { SequencerID: gethcommon.BytesToAddress([]byte("")), ObscuroGenesis: "", DebugNamespaceEnabled: false, - MaxBatchSize: 1024 * 36, + MaxBatchSize: 1024 * 55, MaxRollupSize: 1024 * 64, GasPaymentAddress: gethcommon.HexToAddress("0xd6C9230053f45F873Cb66D8A02439380a37A4fbF"), BaseFee: new(big.Int).SetUint64(params.InitialBaseFee), diff --git a/integration/simulation/devnetwork/node.go b/integration/simulation/devnetwork/node.go index dbb0fba254..087f99ac72 100644 --- a/integration/simulation/devnetwork/node.go +++ b/integration/simulation/devnetwork/node.go @@ -178,7 +178,7 @@ func (n *InMemNodeOperator) createEnclaveContainer() *enclavecontainer.EnclaveCo MessageBusAddress: n.l1Data.MessageBusAddr, SqliteDBPath: n.enclaveDBFilepath, DebugNamespaceEnabled: true, - MaxBatchSize: 1024 * 36, + MaxBatchSize: 1024 * 55, MaxRollupSize: 1024 * 64, BaseFee: defaultCfg.BaseFee, // todo @siliev:: fix test transaction builders so this can be different GasBatchExecutionLimit: defaultCfg.GasBatchExecutionLimit, diff --git a/integration/simulation/network/network_utils.go b/integration/simulation/network/network_utils.go index e5c8953d46..4bed4c2cc5 100644 --- a/integration/simulation/network/network_utils.go +++ b/integration/simulation/network/network_utils.go @@ -91,7 +91,7 @@ func createInMemObscuroNode( MinGasPrice: gethcommon.Big1, MessageBusAddress: l1BusAddress, ManagementContractAddress: *mgtContractAddress, - MaxBatchSize: 1024 * 36, + MaxBatchSize: 1024 * 55, MaxRollupSize: 1024 * 64, BaseFee: big.NewInt(1), // todo @siliev:: fix test transaction builders so this can be different GasLocalExecutionCapFlag: params.MaxGasLimit / 2,