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

GRANDPA: Equivocation slashing for the current set #2129

Closed
rphmeier opened this issue Mar 27, 2019 · 1 comment
Closed

GRANDPA: Equivocation slashing for the current set #2129

rphmeier opened this issue Mar 27, 2019 · 1 comment
Labels
J0-enhancement An additional feature request.
Milestone

Comments

@rphmeier
Copy link
Contributor

rphmeier commented Mar 27, 2019

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

@rphmeier rphmeier added the J0-enhancement An additional feature request. label Mar 27, 2019
@rphmeier rphmeier added this to the 1.1 milestone Mar 27, 2019
@marcio-diaz marcio-diaz self-assigned this Mar 27, 2019
@nczhu nczhu modified the milestones: 1.1, 2.0-kusama Jun 3, 2019
@marcio-diaz marcio-diaz removed their assignment Oct 23, 2019
@gnunicorn gnunicorn modified the milestones: 2.1, Polkadot Mar 4, 2020
@andresilva
Copy link
Contributor

Fixed in #3868.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

5 participants