Skip to content

Commit

Permalink
Merge pull request #36 from Layr-Labs/epociask--feat-bump-max-batch-size
Browse files Browse the repository at this point in the history
feat: bump max EigenDA batch size to 16mib
  • Loading branch information
epociask authored Oct 8, 2024
2 parents 5fbde58 + 1430dcc commit 07db80d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker-eigenda.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build nitro-eigenda Docker Image
on:
workflow_dispatch:
push:
tags: ['*']

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
shellcheck:
name: Run ShellCheck
runs-on: ubuntu-8
runs-on: linux-2xl
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ var DefaultBatchPosterConfig = BatchPosterConfig{
DisableDapFallbackStoreDataOnChain: false,
// This default is overridden for L3 chains in applyChainParameters in cmd/nitro/nitro.go
MaxSize: 100000,
MaxEigenDABatchSize: 2_000_000,
MaxEigenDABatchSize: 16_777_216,
// Try to fill 3 blobs per batch
Max4844BatchSize: blobs.BlobEncodableData*(params.MaxBlobGasPerBlock/params.BlobTxBlobGasPerBlob)/2 - 2000,
PollInterval: time.Second * 10,
Expand Down
2 changes: 1 addition & 1 deletion arbstate/inbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type sequencerMessage struct {
segments [][]byte
}

const MaxDecompressedLen int = 1024 * 1024 * 16 // 16 MiB
const MaxDecompressedLen int = 1024 * 1024 * 40 // 40 MiB
const maxZeroheavyDecompressedLen = 101*MaxDecompressedLen/100 + 64
const MaxSegmentsPerSequencerMessage = 100 * 1024

Expand Down
2 changes: 1 addition & 1 deletion eigenda/eigenda.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
sequencerMsgOffset = 41
MaxBatchSize = 2_000_000 // 2MB
MaxBatchSize = 16_777_216 // 16MiB
)

func IsEigenDAMessageHeaderByte(header byte) bool {
Expand Down
2 changes: 1 addition & 1 deletion nitro-testnode
2 changes: 2 additions & 0 deletions scripts/start-eigenda-proxy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

echo "Pull eigenda-proxy container"
docker pull ghcr.io/layr-labs/eigenda-proxy@sha256:10a4762f5c43e9037835617e6ec0b03da34012df87048a363f43b969ab93679b

Expand Down

0 comments on commit 07db80d

Please sign in to comment.