3

Testing some behaviors on a collator, I often end-up with [🌗] Block import error: State Database error: Too many sibling blocks inserted

Is there way to remove those siblings from the database ?

1
  • As per my understanding, there is nothing that enables you to drop siblings arbitrarily from db atm, though siblings are pruned when ancestor blocks get finalized so ensuring a small finalization window should prevent these. Commented Jun 15, 2022 at 14:37

1 Answer 1

3

The correct way to revert the siblings is to use ./binary revert ... Ex: polkadot revert --chain=rococo-local 1

This was not possible for parachain due to how they treat leaves and best blocks (dependant on the relaychain), but has since been fixed (see https://github.com/paritytech/substrate/pull/11716)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.