Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Aug 28, 2024
1 parent 74c49aa commit 13a7b7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/zetae2e/config/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ type E2EClients struct {
ZevmAuth *bind.TransactOpts
}

// zetaChainClients contains all the RPC clients and gRPC clients for ZetaChain
type zetaChainClients struct {
// ZetaChainClients contains all the RPC clients and gRPC clients for ZetaChain
type ZetaChainClients struct {
AuthorityClient authoritytypes.QueryClient
CctxClient crosschaintypes.QueryClient
FungibleClient fungibletypes.QueryClient
Expand Down Expand Up @@ -154,12 +154,12 @@ func getEVMClient(

// GetZetaClients get zeta clients
func GetZetaClients(rpc string) (
zetaChainClients,
ZetaChainClients,
error,
) {
grpcConn, err := grpc.Dial(rpc, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return zetaChainClients{}, err
return ZetaChainClients{}, err
}

authorityClient := authoritytypes.NewQueryClient(grpcConn)
Expand All @@ -170,7 +170,7 @@ func GetZetaClients(rpc string) (
observerClient := observertypes.NewQueryClient(grpcConn)
lightclientClient := lightclienttypes.NewQueryClient(grpcConn)

return zetaChainClients{
return ZetaChainClients{
AuthorityClient: authorityClient,
CctxClient: cctxClient,
FungibleClient: fungibleClient,
Expand Down

0 comments on commit 13a7b7d

Please sign in to comment.