From fa7a6b75a9103d79e6fc778dc829a96e0f476f9b Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Thu, 29 Aug 2024 12:28:28 -0700 Subject: [PATCH] fix e2e lint --- cmd/zetae2e/config/clients.go | 4 ++-- cmd/zetae2e/run.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/zetae2e/config/clients.go b/cmd/zetae2e/config/clients.go index a2b1909111..3aec591737 100644 --- a/cmd/zetae2e/config/clients.go +++ b/cmd/zetae2e/config/clients.go @@ -35,7 +35,7 @@ func getClientsFromConfig(ctx context.Context, conf config.Config, account confi if err != nil { return runner.Clients{}, fmt.Errorf("failed to get evm client: %w", err) } - zetaCoreClients, err := GetZetacoreClient(ctx, conf) + zetaCoreClients, err := GetZetacoreClient(conf) if err != nil { return runner.Clients{}, fmt.Errorf("failed to get zetacore client: %w", err) } @@ -106,7 +106,7 @@ func getEVMClient( return evmClient, evmAuth, nil } -func GetZetacoreClient(ctx context.Context, conf config.Config) (zetacore_rpc.Clients, error) { +func GetZetacoreClient(conf config.Config) (zetacore_rpc.Clients, error) { if conf.RPCs.ZetaCoreGRPC != "" { return zetacore_rpc.NewGRPCClients( conf.RPCs.ZetaCoreGRPC, diff --git a/cmd/zetae2e/run.go b/cmd/zetae2e/run.go index a710e98504..5f38a39cbd 100644 --- a/cmd/zetae2e/run.go +++ b/cmd/zetae2e/run.go @@ -179,7 +179,7 @@ func parseCmdArgsToE2ETestRunConfig(args []string) ([]runner.E2ETestRunConfig, e // findERC20 loads ERC20 addresses via gRPC given CLI flags func findERC20(ctx context.Context, conf config.Config, erc20ChainName, erc20Symbol string) (string, string, error) { - clients, err := zetae2econfig.GetZetacoreClient(ctx, conf) + clients, err := zetae2econfig.GetZetacoreClient(conf) if err != nil { return "", "", fmt.Errorf("get zeta clients: %w", err) }