diff --git a/api/clients/disperser_client.go b/api/clients/disperser_client.go index 50eb03cbc4..ed412b200c 100644 --- a/api/clients/disperser_client.go +++ b/api/clients/disperser_client.go @@ -226,8 +226,11 @@ 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) - dialOptions := c.getDialOptions() - conn, err := grpc.Dial(addr, dialOptions...) + + options := make([]grpc.DialOption, 0) + options = append(options, grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(100*1024*1024))) // 100MiB receive buffer + + conn, err := grpc.Dial(addr, options...) if err != nil { return nil, err }