ChainSafe / ChainSafe/lodestar
Un-subscribe all gossip when reverting to finalized sync
Open
prio-medium
scope-performance
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
Currently we un-subscribe core topics when going to finalized sync
https://github.com/ChainSafe/lodestar/blob/2ed2e03d0ca3e2d6e04e503d4e1beb2deedd47a7/packages/lodestar/src/sync/sync.ts#L193-L194
However we keep subnet subscriptions, which are actually the ones taking the bulk of CPU processing.
- [ ] Un-subscribe all gossip when reverting to finalized sync
From https://github.com/ChainSafe/lodestar/issues/2488
Contributor guide
Assessment
This issue has not been assessed yet.