Skip to content

Commit

Permalink
fix: bump protocol-apis package to prevent rewards gen from hanging (#57
Browse files Browse the repository at this point in the history
)
  • Loading branch information
seanmcgary authored Dec 13, 2024
2 parents 07e00dd + 465e463 commit 7e46d1b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions eigenlayer-rewards-updater/values-mainnetEthereum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ network: ethereum
cronJob:
namespace: mainnet-ethereum
enabled: false
image:
tag: ffcfb90e5d3d23156acc7a33d7d8070a91a87bea
claimJob:
namespace: testnet-holesky
enabled: false
image:
tag: ffcfb90e5d3d23156acc7a33d7d8070a91a87bea
verifyRootJob:
enabled: true
image:
tag: ffcfb90e5d3d23156acc7a33d7d8070a91a87bea
config: |
debug: true
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.10

require (
github.com/Layr-Labs/eigenlayer-contracts v0.4.1-holesky-pepe.0.20240813143901-00fc4b95e9c1
github.com/Layr-Labs/protocol-apis v0.1.0-beta.3.0.20241122223729-1734c60ac737
github.com/Layr-Labs/protocol-apis v1.0.0-rc.1.0.20241206171209-6484d433345c
github.com/ethereum/go-ethereum v1.14.0
github.com/google/go-cmp v0.6.0
github.com/pkg/errors v0.9.1
Expand Down
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@ github.com/Layr-Labs/eigenlayer-rewards-proofs v0.2.14-0.20241125201443-e68b50c3
github.com/Layr-Labs/eigenlayer-rewards-proofs v0.2.14-0.20241125201443-e68b50c3a470/go.mod h1:szcJU28Y/X8EPCsPesY06Z3Bx7eUagwEEogLiqqxo38=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.1.0.20241031143701-1007e0c3775c h1:jgImTwABd+bgblTHy4J/nqwE2cDIAHZ3zGNgFpS9P6s=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.1.0.20241031143701-1007e0c3775c/go.mod h1:prNA2/mLO5vpMZ2q78Nsn0m97wm28uiRnwO+/yOxigk=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.3 h1:bOBGVb/qcoI9hkJFWGqqhd1fm88GgN3MI9EBqTFhOic=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.3/go.mod h1:prNA2/mLO5vpMZ2q78Nsn0m97wm28uiRnwO+/yOxigk=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.3.0.20241122223729-1734c60ac737 h1:I/0YAw2ue150YuLNavErIQ4t7yoTDuH3nqZkOS7RTjg=
github.com/Layr-Labs/protocol-apis v0.1.0-beta.3.0.20241122223729-1734c60ac737/go.mod h1:prNA2/mLO5vpMZ2q78Nsn0m97wm28uiRnwO+/yOxigk=
github.com/Layr-Labs/protocol-apis v1.0.0-rc.1.0.20241206170022-23e33e5880e8 h1:4B9lMZyiWXrPsrFzU3g/PhW23GdEtVi8t47KF/S53Bo=
github.com/Layr-Labs/protocol-apis v1.0.0-rc.1.0.20241206170022-23e33e5880e8/go.mod h1:prNA2/mLO5vpMZ2q78Nsn0m97wm28uiRnwO+/yOxigk=
github.com/Layr-Labs/protocol-apis v1.0.0-rc.1.0.20241206171209-6484d433345c h1:m9xRDJR9ItBQmiOBhsx64Bemi4W5/2pkXru75evpEGI=
github.com/Layr-Labs/protocol-apis v1.0.0-rc.1.0.20241206171209-6484d433345c/go.mod h1:prNA2/mLO5vpMZ2q78Nsn0m97wm28uiRnwO+/yOxigk=
github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
Expand Down
1 change: 1 addition & 0 deletions pkg/updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func (u *Updater) Update(ctx context.Context) (*UpdatedRoot, error) {
u.logger.Sugar().Debug("Generating a new rewards snapshot (this may take a while, please wait)")
res, err := u.sidecarClient.Rewards.GenerateRewards(ctx, &v1.GenerateRewardsRequest{
RespondWithRewardsData: false,
WaitForComplete: true,
})
if err != nil {
return nil, fmt.Errorf("failed to generate rewards: %w", err)
Expand Down

0 comments on commit 7e46d1b

Please sign in to comment.