Process pending atts after pending blocks clear (#15824)

This commit is contained in:
terence
2025-10-09 07:27:03 -07:00
committed by GitHub
parent 4946b007ab
commit 83a171b439
2 changed files with 8 additions and 0 deletions

View File

@@ -147,6 +147,11 @@ func (s *Service) processPendingBlocks(ctx context.Context) error {
}
cancelFunction()
// Process pending attestations for this block.
if err := s.processPendingAttsForBlock(ctx, blkRoot); err != nil {
log.WithError(err).Debug("Failed to process pending attestations for block")
}
// Remove the processed block from the queue.
if err := s.removeBlockFromQueue(b, blkRoot); err != nil {
return err

View File

@@ -0,0 +1,3 @@
### Changed
- Process pending attestations after pending blocks are cleared