Skip to content

Commit

Permalink
disable it for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Jun 28, 2024
1 parent c915885 commit 452a523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/operator/setclaimer.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ func SetClaimerCmd(p utils.Prompter) *cli.Command {
return err
}
cCtx.App.Metadata["network"] = operatorCfg.ChainId.String()
if operatorCfg.ChainId.Int64() == utils.MainnetChainId {
return fmt.Errorf("set claimer currently unsupported on mainnet")
}

logger, err := eigensdkLogger.NewZapLogger(eigensdkLogger.Development)
if err != nil {
Expand Down

0 comments on commit 452a523

Please sign in to comment.