Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 30e5053

Browse files
authored
build(deps): update go-da to v0.5.0 (#93)
1 parent 725ac33 commit 30e5053

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/celestia-da/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"google.golang.org/grpc"
1515
"google.golang.org/grpc/credentials/insecure"
1616

17-
"github.com/rollkit/go-da/proxy"
17+
proxygrpc "github.com/rollkit/go-da/proxy/grpc"
1818
)
1919

2020
func serve(ctx context.Context, rpcAddress, rpcToken, listenAddress, listenNetwork, nsString string, gasPrice float64) {
@@ -34,7 +34,7 @@ func serve(ctx context.Context, rpcAddress, rpcToken, listenAddress, listenNetwo
3434

3535
da := celestia.NewCelestiaDA(client, namespace, gasPrice, ctx)
3636
// TODO(tzdybal): add configuration options for encryption
37-
srv := proxy.NewServer(da, grpc.Creds(insecure.NewCredentials()))
37+
srv := proxygrpc.NewServer(da, grpc.Creds(insecure.NewCredentials()))
3838

3939
lis, err := net.Listen(listenNetwork, listenAddress)
4040
if err != nil {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/ipfs/go-log/v2 v2.5.1
1616
github.com/mitchellh/go-homedir v1.1.0
1717
github.com/ory/dockertest/v3 v3.10.0
18-
github.com/rollkit/go-da v0.4.0
18+
github.com/rollkit/go-da v0.5.0
1919
github.com/spf13/cobra v1.8.0
2020
github.com/spf13/pflag v1.0.5
2121
github.com/stretchr/testify v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,8 +2106,8 @@ github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE
21062106
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
21072107
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
21082108
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
2109-
github.com/rollkit/go-da v0.4.0 h1:/s7ZrVq7DC2aK8UXIvB7rsXrZ2mVGRw7zrexcxRvhlw=
2110-
github.com/rollkit/go-da v0.4.0/go.mod h1:Kef0XI5ecEKd3TXzI8S+9knAUJnZg0svh2DuXoCsPlM=
2109+
github.com/rollkit/go-da v0.5.0 h1:sQpZricNS+2TLx3HMjNWhtRfqtvVC/U4pWHpfUz3eN4=
2110+
github.com/rollkit/go-da v0.5.0/go.mod h1:VsUeAoPvKl4Y8wWguu/VibscYiFFePkkrvZWyTjZHww=
21112111
github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
21122112
github.com/rs/cors v1.9.0 h1:l9HGsTsHJcvW14Nk7J9KFz8bzeAWXn3CG6bgt7LsrAE=
21132113
github.com/rs/cors v1.9.0/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=

0 commit comments

Comments
 (0)