Skip to content

Commit

Permalink
Fix chain parameter default
Browse files Browse the repository at this point in the history
Chain parameters were updated to prepare for execution split, but one mention was missed
  • Loading branch information
joshuacolvin0 committed Dec 1, 2023
1 parent 84d6bc9 commit aa59d34
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 aa59d34

Please sign in to comment.