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.

Support multiple pending authority set changes #1497

@andresilva

Description

@andresilva

Currently GrandpaBlockImport only supports importing one pending authority set change, it will error when importing a second block that signals an authority set change if any previous one has not been finalized yet. This can be problematic if finality is temporarily stalled, as authorities will keep producing blocks but will stall after a second authority change is signaled (e.g. at the end of the session).

GrandpaBlockImport should allow multiple non-overlapping changes on the same branch. In order to do it safely all change blocks must be justified and the justifications must be imported in-order (so that authority set changes are enacted accordingly).

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions