Skip to content

Commit

Permalink
fix e2e lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Aug 29, 2024
1 parent aaadc78 commit fa7a6b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/zetae2e/config/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cmd/zetae2e/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fa7a6b7

Please sign in to comment.