Skip to content

Commit 10621a0

Browse files
committed
remove other consts
1 parent 2b1683f commit 10621a0

File tree

3 files changed

+6
-134
lines changed

3 files changed

+6
-134
lines changed

.github/workflows/check_consts_drift.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

da/jsonrpc/client.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ import (
1111
"github.com/rs/zerolog"
1212

1313
"github.com/evstack/ev-node/core/da"
14-
internal "github.com/evstack/ev-node/da/jsonrpc/internal"
14+
)
15+
16+
const (
17+
// DefaultMaxBlobSize is the default maximum blob size in bytes.
18+
DefaultMaxBlobSize = 1.5 * 1024 * 1024 // 1.5MB
1519
)
1620

1721
//go:generate mockgen -destination=mocks/api.go -package=mocks . Module
@@ -232,7 +236,7 @@ func newClient(ctx context.Context, logger zerolog.Logger, addr string, authHead
232236
var multiCloser multiClientCloser
233237
var client Client
234238
client.DA.Logger = logger
235-
client.DA.MaxBlobSize = uint64(internal.MaxTxSize)
239+
client.DA.MaxBlobSize = uint64(DefaultMaxBlobSize)
236240
client.DA.gasPrice = gasPrice
237241
client.DA.gasMultiplier = gasMultiplier
238242

da/jsonrpc/internal/consts.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)