Skip to content

Commit c19136e

Browse files
authored
chore: bump blob size (#2877)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> mocha has bumped their max so we can go back to our previous size upstream is now 8mb https://github.com/celestiaorg/celestia-app/blob/v6.2.5/pkg/appconsts/app_consts.go#L25
1 parent c652f7a commit c19136e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

block/internal/common/consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package common
22

3-
const DefaultMaxBlobSize = 1.5 * 1024 * 1024 // 1.5MB fallback blob size limit
3+
const DefaultMaxBlobSize = 2 * 1024 * 1024 // 2MB fallback blob size limit

da/cmd/local-da/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
)
1919

2020
// DefaultMaxBlobSize is the default max blob size
21-
const DefaultMaxBlobSize uint64 = 64 * 64 * 481 // 1970176
21+
const DefaultMaxBlobSize uint64 = 2 * 1024 * 1024 // 2MB
2222

2323
// LocalDA is a simple implementation of in-memory DA. Not production ready! Intended only for testing!
2424
//

da/jsonrpc/proxy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const (
3030

3131
testMaxBlobSize = 100
3232

33-
DefaultMaxBlobSize = 1.5 * 1024 * 1024 // 1.5MB
33+
DefaultMaxBlobSize = 2 * 1024 * 1024 // 2MB
3434
)
3535

3636
// testNamespace is a 15-byte namespace that will be hex encoded to 30 chars and truncated to 29

pkg/cmd/run_node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"github.com/evstack/ev-node/pkg/signer/file"
2727
)
2828

29-
const DefaultMaxBlobSize = 1.5 * 1024 * 1024 // 1.5MB
29+
const DefaultMaxBlobSize = 2 * 1024 * 1024 // 2MB
3030

3131
// ParseConfig is an helpers that loads the node configuration and validates it.
3232
func ParseConfig(cmd *cobra.Command) (rollconf.Config, error) {

0 commit comments

Comments
 (0)