Skip to content

Commit

Permalink
Merge pull request #1982 from OffchainLabs/das-batchposter-maxsize
Browse files Browse the repository at this point in the history
Increase the default BatchPosterConfig MaxSize for DAS chains to ~1MB
  • Loading branch information
joshuacolvin0 authored Nov 28, 2023
2 parents 5d4266e + c908a3c commit b82a6df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,9 @@ func applyChainParameters(ctx context.Context, k *koanf.Koanf, chainId uint64, c
chainDefaults["node.batch-poster.max-size"] = safeBatchSize
chainDefaults["node.sequencer.max-tx-data-size"] = safeBatchSize - bufferSpace
}
if chainInfo.DasIndexUrl != "" {
chainDefaults["node.batch-poster.max-size"] = 1000000
}
err = k.Load(confmap.Provider(chainDefaults, "."), nil)
if err != nil {
return false, err
Expand Down

0 comments on commit b82a6df

Please sign in to comment.