Skip to content

Commit

Permalink
Batch limit: increase max to 36kb
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Feb 27, 2024
1 parent 7049486 commit 48bb8cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration/common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func DefaultEnclaveConfig() *config.EnclaveConfig {
SequencerID: gethcommon.BytesToAddress([]byte("")),
ObscuroGenesis: "",
DebugNamespaceEnabled: false,
MaxBatchSize: 1024 * 32,
MaxBatchSize: 1024 * 36,
MaxRollupSize: 1024 * 64,
GasPaymentAddress: gethcommon.HexToAddress("0xd6C9230053f45F873Cb66D8A02439380a37A4fbF"),
BaseFee: new(big.Int).SetUint64(params.InitialBaseFee),
Expand Down
2 changes: 1 addition & 1 deletion integration/simulation/devnetwork/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (n *InMemNodeOperator) createEnclaveContainer() *enclavecontainer.EnclaveCo
MessageBusAddress: n.l1Data.MessageBusAddr,
SqliteDBPath: n.enclaveDBFilepath,
DebugNamespaceEnabled: true,
MaxBatchSize: 1024 * 32,
MaxBatchSize: 1024 * 36,
MaxRollupSize: 1024 * 64,
BaseFee: defaultCfg.BaseFee, // todo @siliev:: fix test transaction builders so this can be different
GasBatchExecutionLimit: defaultCfg.GasBatchExecutionLimit,
Expand Down
2 changes: 1 addition & 1 deletion integration/simulation/network/network_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func createInMemObscuroNode(
MinGasPrice: gethcommon.Big1,
MessageBusAddress: l1BusAddress,
ManagementContractAddress: *mgtContractAddress,
MaxBatchSize: 1024 * 32,
MaxBatchSize: 1024 * 36,
MaxRollupSize: 1024 * 64,
BaseFee: big.NewInt(1), // todo @siliev:: fix test transaction builders so this can be different
GasLocalExecutionCapFlag: params.MaxGasLimit / 2,
Expand Down

0 comments on commit 48bb8cd

Please sign in to comment.