diff --git a/eigenlayer-rewards-updater/values-mainnetEthereum.yaml b/eigenlayer-rewards-updater/values-mainnetEthereum.yaml index 74abdf0..5f857d3 100644 --- a/eigenlayer-rewards-updater/values-mainnetEthereum.yaml +++ b/eigenlayer-rewards-updater/values-mainnetEthereum.yaml @@ -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 diff --git a/go.mod b/go.mod index fb65ef7..96fdbe5 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 48becc1..34292ef 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/pkg/updater/updater.go b/pkg/updater/updater.go index e031d90..317cf28 100644 --- a/pkg/updater/updater.go +++ b/pkg/updater/updater.go @@ -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)