Compare commits

...

1 Commits

Author SHA1 Message Date
potuz
7880f2887f Add error check on initial sidecar fetching 2025-11-11 10:55:11 -03:00
2 changed files with 6 additions and 0 deletions

View File

@@ -216,6 +216,9 @@ func (s *Service) fetchOriginSidecars(peers []peer.ID) error {
if errors.Is(err, db.ErrNotFoundOriginBlockRoot) {
return nil
}
if err != nil {
return errors.Wrap(err, "error fetching origin checkpoint blockroot")
}
block, err := s.cfg.DB.Block(s.ctx, blockRoot)
if err != nil {

View File

@@ -0,0 +1,3 @@
### Ignored
- Add error check in origin sidecars fetching.