In the Substrate documentation, I came across a statement stating that at the beginning of a new block, the System pallet automatically removes all events that were stored from the previous block. However, I have observed that I can still fetch historical block events despite this automatic removal. I am seeking clarification on this concept.
Here is the screenshot of the relevant section from the documentation: I would like to understand how it is possible to retrieve historical block events even after the System pallet has supposedly cleared them. Is there something I am missing or misunderstanding?
Can anyone provide an explanation of the mechanism behind this behavior? Are there any factors that affect the persistence of historical block events despite the automatic removal by the System pallet?
I would greatly appreciate any insights, explanations, or examples that can help clarify this concept.
Thank you for your assistance!