This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Revert persistent data related to parachains management #11178
Labels
I3-bug
The node fails to follow expected behavior.
Substrate's CLI "revert" command is supposed to revert the node state by N blocks back to at most the last finalized one and leave the node in a consistent state.
Currently the command reverts:
It has been observed that some information related to parachains management should be reverted as well.
We can divide the information that has been added by the blocks that follows the revert point in two categories:
Data that belongs to the first category must be reverted.
If not, it may end up referencing some blockchain data that in the meantime has been wiped out by the overall revert procedure.
Data from the second category is mostly a "nice to have" cleanup feature.
If this is not reverted it should be a (desiderably negligible) leftover that doesn't influence the node's operational status once restarted.
The first step towards the goal is to identify the data that requires to be reverted and then possibly leverage some interfaces that are already present to remove/rollback parachains related data.
For more context about what has already been done see #10962, #11022 and #11162
The text was updated successfully, but these errors were encountered: