You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
SessionInfos are kept on-chain for the dispute period, which is six sessions on production networks. An older version of the structure known as OldV1SessionInfo (see #4545) had its transition period since inclusion in the 0.9.16 release in February 2022. I believe it can be safely retired now, getting rid of some messy versioning code introduced during the transition.
The text was updated successfully, but these errors were encountered:
@tdimitrov, it's your field of expertise. If I remove the structure from primitives and remove all the code making use of it, is it safe and sound to remove the #[changed_in(2)] session_info() declaration and forget about it?
No. Only the old runtime is needed to process old blocks. Runtime APIs are used to coordinate work around the head of the chain, not around old blocks.
They are safe to remove when any code invoking the old runtime API has been removed from all node binaries.
SessionInfo
s are kept on-chain for the dispute period, which is six sessions on production networks. An older version of the structure known asOldV1SessionInfo
(see #4545) had its transition period since inclusion in the 0.9.16 release in February 2022. I believe it can be safely retired now, getting rid of some messy versioning code introduced during the transition.The text was updated successfully, but these errors were encountered: