Skip to content

Commit

Permalink
Merge pull request #1994 from OffchainLabs/max-tx-data-size-param
Browse files Browse the repository at this point in the history
Fix chain parameter default
  • Loading branch information
Tristan-Wilson authored Dec 1, 2023
2 parents 84d6bc9 + aa59d34 commit 801f747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ func applyChainParameters(ctx context.Context, k *koanf.Koanf, chainId uint64, c
}
safeBatchSize := l2MaxTxSize - bufferSpace
chainDefaults["node.batch-poster.max-size"] = safeBatchSize
chainDefaults["node.sequencer.max-tx-data-size"] = safeBatchSize - bufferSpace
chainDefaults["execution.sequencer.max-tx-data-size"] = safeBatchSize - bufferSpace
}
if chainInfo.DasIndexUrl != "" {
chainDefaults["node.batch-poster.max-size"] = 1000000
Expand Down

0 comments on commit 801f747

Please sign in to comment.