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.

GRANDPA: Equivocation slashing for the current set #2129

@rphmeier

Description

@rphmeier

As a first step towards #1112

Add a call type to the srml-grandpa module where peers can provide two votes that are equivocating. This will check that both are of the same type, signed by the same validator , and are not equivalent.

If so, it will not currently do anything. After #1699 we can slash for it.

the prevote_equivocation and precommit_equivocation functions on Environment should trigger this transaction to be sent.

cc: @andresilva

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions