Skip to content

Commit 076f094

Browse files
committed
fixes
1 parent 57cd3ef commit 076f094

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

apps/testapp/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ COPY . .
2828

2929
WORKDIR /ev-node/apps/testapp
3030

31+
# 125829120 = 120 MB
3132
RUN go build -ldflags "-X github.com/evstack/ev-node/block/internal/common.defaultMaxBlobSizeStr=125829120" -o /go/bin/testapp .
3233

3334
## prep the final image.

block/internal/common/consts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import "strconv"
99
var defaultMaxBlobSizeStr = "5242880" // 5 MB
1010

1111
// DefaultMaxBlobSize is the max blob size limit used for blob submission.
12-
var DefaultMaxBlobSize uint64 = 5 * 1024 * 1024
12+
var DefaultMaxBlobSize uint64
1313

1414
func init() {
1515
v, err := strconv.ParseUint(defaultMaxBlobSizeStr, 10, 64)
1616
if err != nil || v == 0 {
17-
DefaultMaxBlobSize = 5 * 1024 * 1024
17+
DefaultMaxBlobSize = 5 * 1024 * 1024 // 5 MB fallback
1818
return
1919
}
2020
DefaultMaxBlobSize = v

pkg/sequencers/solo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ flowchart TD
3232
B -->|No| C["Return ErrInvalidID"]
3333
B -->|Yes| D{"Empty batch?"}
3434
D -->|Yes| E["Return OK"]
35-
F -->|No| H["Append txs to queue"]
35+
D -->|No| H["Append txs to queue"]
3636
H --> E
3737
```
3838

0 commit comments

Comments
 (0)