Skip to content

Commit

Permalink
removed rpc in dataavailabilitylayerclient
Browse files Browse the repository at this point in the history
  • Loading branch information
chandiniv1 committed Aug 7, 2023
1 parent eb7269b commit 9ea8b1c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions da/avail/avail.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import (
"net/http"

ds "github.com/ipfs/go-datastore"

Check failure on line 11 in da/avail/avail.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

File is not `goimports`-ed with -local github.com/rollkit (goimports)
openrpc "github.com/rollkit/celestia-openrpc"
openrpcns "github.com/rollkit/celestia-openrpc/types/namespace"
"github.com/rollkit/rollkit/da"
"github.com/rollkit/rollkit/da/avail/datasubmit"
"github.com/rollkit/rollkit/log"
Expand All @@ -26,8 +24,7 @@ type Config struct {
}

type DataAvailabilityLayerClient struct {
rpc *openrpc.Client
namespace openrpcns.Namespace
namespace types.NamespaceID

Check failure on line 27 in da/avail/avail.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

`namespace` is unused (structcheck)
config Config
logger log.Logger
}
Expand Down

0 comments on commit 9ea8b1c

Please sign in to comment.