diff --git a/internal/config/config.go b/internal/config/config.go index 87505b08..56b0381e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -244,6 +244,10 @@ func (c *Config) CanIgnoreIncorrectRewardsRoot(blockNumber uint64) bool { if blockNumber < 2046020 { return true } + // test root posted that was invalid for 2024-11-23 (cutoff date 2024-11-24) + if blockNumber == 2812052 { + return true + } case Chain_Holesky: // roughly 2024-08-01 if blockNumber < 2046020 { diff --git a/pkg/rpcServer/rewardsHandlers.go b/pkg/rpcServer/rewardsHandlers.go index 28a00823..c0f41fde 100644 --- a/pkg/rpcServer/rewardsHandlers.go +++ b/pkg/rpcServer/rewardsHandlers.go @@ -50,7 +50,7 @@ func (rpc *RpcServer) GenerateRewardsRoot(ctx context.Context, req *sidecarV1.Ge if rewardsCalcEndDate == "" { return nil, status.Error(codes.NotFound, "no rewards calculated for the given snapshot date") } - rpc.Logger.Sugar().Infow("Rewards calculated for snapshot date", + rpc.Logger.Sugar().Infow("Merkelizing rewards for snapshot date", zap.String("cutoffDate", cutoffDate), zap.String("rewardsCalcEndDate", rewardsCalcEndDate), )