Skip to content

Commit

Permalink
Merge pull request #2344 from OffchainLabs/halve-4844-batch-size
Browse files Browse the repository at this point in the history
Halve EIP-4844 batch size to only fill 3 batches
  • Loading branch information
PlasmaPower authored May 28, 2024
2 parents 3deb9ca + c2f2343 commit 879c14a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ var DefaultBatchPosterConfig = BatchPosterConfig{
Enable: false,
DisableDapFallbackStoreDataOnChain: false,
// This default is overridden for L3 chains in applyChainParameters in cmd/nitro/nitro.go
MaxSize: 100000,
Max4844BatchSize: blobs.BlobEncodableData*(params.MaxBlobGasPerBlock/params.BlobTxBlobGasPerBlob) - 2000,
MaxSize: 100000,
// Try to fill 3 blobs per batch
Max4844BatchSize: blobs.BlobEncodableData*(params.MaxBlobGasPerBlock/params.BlobTxBlobGasPerBlob)/2 - 2000,
PollInterval: time.Second * 10,
ErrorDelay: time.Second * 10,
MaxDelay: time.Hour,
Expand Down

0 comments on commit 879c14a

Please sign in to comment.