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

Description
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