mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-03 02:05:03 +00:00
04b851f775
When eliminating orphaned forks, light client data about blocks was also deleted when the orphaned fork was referring to a state several slots after the block. Linking light client data pruning with block deletion instead of state deletion fixes this problem. Light client data always refers to blocks and their immediate post-state.