Skip to content

Commit

Permalink
remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Aug 28, 2024
1 parent b377c04 commit 110cc36
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pkg/eigenpod/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func formatStringColumns(columnName string, size int32) string {

func readAndValidateConfig(c *cli.Context, logger logging.Logger) (*statusConfig, error) {
network := c.String(flags.NetworkFlag.Name)
logger.Debugf("Using network: %s", network)
logger.Debugf("Using Network: %s", network)

chainID := utils.NetworkNameToChainId(network)

Expand Down
6 changes: 3 additions & 3 deletions pkg/internal/common/flags/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var (
NetworkFlag = cli.StringFlag{
Name: "network",
Aliases: []string{"n"},
Usage: "network to use. Currently supports 'holesky' and 'mainnet'",
Usage: "Network to use. Currently supports 'holesky' and 'mainnet'",
Value: "holesky",
EnvVars: []string{"NETWORK"},
}
Expand All @@ -29,15 +29,15 @@ var (
OutputFileFlag = cli.StringFlag{
Name: "output-file",
Aliases: []string{"o"},
Usage: "output file to write the data",
Usage: "Output file to write the data",
EnvVars: []string{"OUTPUT_FILE"},
}

OutputTypeFlag = cli.StringFlag{
Name: "output-type",
Aliases: []string{"ot"},
Value: "pretty",
Usage: "output format of the command. One of 'pretty', 'json' or 'calldata'",
Usage: "Output format of the command. One of 'pretty', 'json' or 'calldata'",
EnvVars: []string{"OUTPUT_TYPE"},
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/rewards/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ func readAndValidateClaimConfig(cCtx *cli.Context, logger logging.Logger) (*Clai
environment = getEnvFromNetwork(network)
}
logger.Debugf("Using network %s and environment: %s", network, environment)

// Get signerConfig
e
// Get SignerConfig
signerConfig, err := common.GetSignerConfig(cCtx, logger)
if err != nil {
// We don't want to throw error since people can still use it to generate the claim
Expand Down
2 changes: 1 addition & 1 deletion pkg/rewards/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
EnvironmentFlag = cli.StringFlag{
Name: "environment",
Aliases: []string{"env"},
Usage: "environment to use. Currently supports 'preprod' ,'testnet' and 'prod'. If not provided, it will be inferred based on network",
Usage: "Environment to use. Currently supports 'preprod' ,'testnet' and 'prod'. If not provided, it will be inferred based on network",
EnvVars: []string{"ENVIRONMENT"},
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/rewards/setclaimer.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func readAndValidateSetClaimerConfig(cCtx *cli.Context, logger logging.Logger) (
}
logger.Debugf("Using network %s and environment: %s", network, environment)

// Get signerConfig
// Get SignerConfig
signerConfig, err := common.GetSignerConfig(cCtx, logger)
if err != nil {
// We don't want to throw error since people can still use it to generate the
Expand Down
2 changes: 1 addition & 1 deletion pkg/rewards/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func readAndValidateConfig(cCtx *cli.Context, logger logging.Logger) (*ShowConfi
if env == "" {
env = getEnvFromNetwork(network)
}
logger.Debugf("network: %s, Env: %s", network, env)
logger.Debugf("Network: %s, Env: %s", network, env)

claimType := ClaimType(cCtx.String(ClaimTypeFlag.Name))
if claimType != All && claimType != Unclaimed && claimType != Claimed {
Expand Down

0 comments on commit 110cc36

Please sign in to comment.