Skip to content

Commit c71766a

Browse files
authored
feat: Mainnet release for rewards v2 CLI (#286)
1 parent a9c3ce0 commit c71766a

File tree

6 files changed

+5
-17
lines changed

6 files changed

+5
-17
lines changed

.github/workflows/integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
repository: layr-labs/eigensdk-go
2525
token: ${{ github.token }}
26-
ref: dev
26+
ref: 72117286b6d849f50773483bfd1efcc305ab5edb
2727

2828
- name: Run anvil chain
2929
run: |
@@ -96,7 +96,7 @@ jobs:
9696
with:
9797
repository: layr-labs/eigensdk-go
9898
token: ${{ github.token }}
99-
ref: dev
99+
ref: 72117286b6d849f50773483bfd1efcc305ab5edb
100100
- name: Run anvil chain
101101
run: |
102102
nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 &

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/Layr-Labs/eigenlayer-contracts v0.3.2-mainnet-rewards
88
github.com/Layr-Labs/eigenlayer-rewards-proofs v0.2.12
99
github.com/Layr-Labs/eigenpod-proofs-generation v0.0.14-stable.0.20240730152248-5c11a259293e
10-
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212190947-9985122d81fe
10+
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212232631-72117286b6d8
1111
github.com/blang/semver/v4 v4.0.0
1212
github.com/consensys/gnark-crypto v0.12.1
1313
github.com/ethereum/go-ethereum v1.14.5

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241211225219-79336bf6e886 h1:+7Aijq
1616
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241211225219-79336bf6e886/go.mod h1:aYdNURUhaqeYOS+Cq12TfSdPbjFfiLaHkxPdR4Exq/s=
1717
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212190947-9985122d81fe h1:FeXxapvtEbbTbEWsrcBTTzQ2u2quGJ9HNYQVSk5JZ8g=
1818
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212190947-9985122d81fe/go.mod h1:aYdNURUhaqeYOS+Cq12TfSdPbjFfiLaHkxPdR4Exq/s=
19+
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212232631-72117286b6d8 h1:AMrzXB4M07cpvNbEHS8NHH86LroL+WgE2XwQFrtb/84=
20+
github.com/Layr-Labs/eigensdk-go v0.1.14-0.20241212232631-72117286b6d8/go.mod h1:aYdNURUhaqeYOS+Cq12TfSdPbjFfiLaHkxPdR4Exq/s=
1921
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
2022
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
2123
github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8=

pkg/operator/get_operator_split.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package operator
22

33
import (
4-
"errors"
54
"sort"
65

76
"github.com/Layr-Labs/eigenlayer-cli/pkg/internal/common"
@@ -51,10 +50,6 @@ func GetOperatorSplit(cCtx *cli.Context, isProgrammaticIncentive bool) error {
5150
logger := common.GetLogger(cCtx)
5251

5352
config, err := readAndValidateGetOperatorSplitConfig(cCtx, logger, isProgrammaticIncentive)
54-
if config.Network != "holesky" {
55-
return errors.New("getting operator split only supported on holesky with this version of CLI")
56-
}
57-
5853
if err != nil {
5954
return eigenSdkUtils.WrapError("failed to read and validate operator split config", err)
6055
}

pkg/operator/set_operator_split.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package operator
22

33
import (
4-
"errors"
54
"fmt"
65
"sort"
76

@@ -43,10 +42,6 @@ func SetOperatorSplit(cCtx *cli.Context, p utils.Prompter, isProgrammaticIncenti
4342
return eigenSdkUtils.WrapError("failed to read and validate operator split config", err)
4443
}
4544

46-
if config.Network != "holesky" {
47-
return errors.New("setting operator split only supported on holesky with this version of CLI")
48-
}
49-
5045
cCtx.App.Metadata["network"] = config.ChainID.String()
5146

5247
ethClient, err := ethclient.Dial(config.RPCUrl)

pkg/rewards/claim.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,6 @@ func Claim(cCtx *cli.Context, p utils.Prompter) error {
222222
return eigenSdkUtils.WrapError("failed to read and validate claim config", err)
223223
}
224224

225-
if config.Network != "holesky" && config.BatchClaimFile != "" {
226-
return errors.New("batch claim only supported on holesky with this version of CLI")
227-
}
228-
229225
cCtx.App.Metadata["network"] = config.ChainID.String()
230226

231227
ethClient, err := ethclient.Dial(config.RPCUrl)

0 commit comments

Comments
 (0)