Compare commits

...

2 Commits

Author SHA1 Message Date
Preston Van Loon
d1652d49ad Changelog fragment 2025-06-26 16:23:51 -05:00
Preston Van Loon
8086c3e913 Remove redundant check for attestation slot validity 2025-06-26 16:21:27 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -483,9 +483,6 @@ func (s *Service) GetAttestationData(
ctx, span := trace.StartSpan(ctx, "coreService.GetAttestationData")
defer span.End()
if req.Slot != s.GenesisTimeFetcher.CurrentSlot() {
return nil, &RpcError{Reason: BadRequest, Err: errors.Errorf("invalid request: slot %d is not the current slot %d", req.Slot, s.GenesisTimeFetcher.CurrentSlot())}
}
if err := helpers.ValidateAttestationTime(
req.Slot,
s.GenesisTimeFetcher.GenesisTime(),

View File

@@ -0,0 +1,3 @@
### Removed
- Removed redundant check for attestation request slot in `GetAttestationData` RPC call.