Skip to content

Commit

Permalink
Upgrade batch size limit. (#1774)
Browse files Browse the repository at this point in the history
Co-authored-by: StefanIliev545 <stefan@obscu.ro>
  • Loading branch information
StefanIliev545 and StefanIliev545 committed Feb 2, 2024
1 parent 2806f0e commit 6427fe4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go/config/enclave_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func DefaultEnclaveConfig() *EnclaveConfig {
SequencerID: gethcommon.BytesToAddress([]byte("")),
ObscuroGenesis: "",
DebugNamespaceEnabled: false,
MaxBatchSize: 1024 * 25,
MaxBatchSize: 1024 * 32,
MaxRollupSize: 1024 * 64,
GasPaymentAddress: gethcommon.HexToAddress("0xd6C9230053f45F873Cb66D8A02439380a37A4fbF"),
BaseFee: new(big.Int).SetUint64(1),
Expand Down
2 changes: 1 addition & 1 deletion go/node/docker_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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=25600",
"-maxBatchSize=32768",
"-maxRollupSize=65536",
fmt.Sprintf("-logLevel=%d", d.cfg.logLevel),
"-obscuroGenesis", "{}",
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 @@ -177,7 +177,7 @@ func (n *InMemNodeOperator) createEnclaveContainer() *enclavecontainer.EnclaveCo
MessageBusAddress: n.l1Data.MessageBusAddr,
SqliteDBPath: n.enclaveDBFilepath,
DebugNamespaceEnabled: true,
MaxBatchSize: 1024 * 25,
MaxBatchSize: 1024 * 32,
MaxRollupSize: 1024 * 64,
BaseFee: defaultCfg.BaseFee, // todo @siliev:: fix test transaction builders so this can be different
GasLimit: defaultCfg.GasLimit,
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: big.NewInt(1),
MessageBusAddress: l1BusAddress,
ManagementContractAddress: *mgtContractAddress,
MaxBatchSize: 1024 * 25,
MaxBatchSize: 1024 * 32,
MaxRollupSize: 1024 * 64,
BaseFee: big.NewInt(1), // todo @siliev:: fix test transaction builders so this can be different
GasLimit: big.NewInt(1_000_000_000_000_000_000),
Expand Down

0 comments on commit 6427fe4

Please sign in to comment.