Reorganize processing of light client updates (#15383)

* Reorganize processing of light client updates

* changelog <3
This commit is contained in:
Radosław Kapka
2025-06-09 19:08:23 +02:00
committed by GitHub
parent 4095da8568
commit f5a9394c77
4 changed files with 49 additions and 52 deletions

View File

@@ -72,8 +72,6 @@ func (s *Service) postBlockProcess(cfg *postBlockProcessConfig) error {
}
if features.Get().EnableLightClient && slots.ToEpoch(s.CurrentSlot()) >= params.BeaconConfig().AltairForkEpoch {
defer s.processLightClientUpdates(cfg)
defer s.saveLightClientUpdate(cfg)
defer s.saveLightClientBootstrap(cfg)
}
defer s.sendStateFeedOnBlock(cfg)
defer reportProcessingTime(startTime)