1

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. Jun 15 at 14:37

1 Answer 1

1

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, privacy policy and cookie policy

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