Skip to content

Commit

Permalink
use insecure credential (#711)
Browse files Browse the repository at this point in the history
Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
bxue-l2 and Ubuntu authored Aug 19, 2024
1 parent cacdc21 commit e4af079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/clients/disperser_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (c *disperserClient) GetBlobStatus(ctx context.Context, requestID []byte) (
func (c *disperserClient) RetrieveBlob(ctx context.Context, batchHeaderHash []byte, blobIndex uint32) ([]byte, error) {
addr := fmt.Sprintf("%v:%v", c.config.Hostname, c.config.Port)

options := make([]grpc.DialOption, 0)
options := c.getDialOptions()
options = append(options, grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(100*1024*1024))) // 100MiB receive buffer

conn, err := grpc.Dial(addr, options...)
Expand Down

0 comments on commit e4af079

Please sign in to comment.