Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Remove "dead" leaves #432

@bkchr

Description

@bkchr

When proposing new PoV blocks with a collator, it can happen that we are "stuck" as the relay chain for whatever reason doesn't include our blocks. After X blocks the collator will start to fail importing new blocks, because we have imported too many leaves.

Using paritytech/substrate#8533 we will be able to delete "dead" leaves.

We will require some criterias to decide wether a leave should be seen as "dead":

  1. A block was not seconded, means we can directly remove it.
  2. We have produced block X for relay chain block Y. Now we start producing for Y + N, means we should be able to remove all blocks we have produced/imported for Y.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

Status

done

Relationships

None yet

Development

No branches or pull requests

Issue actions