ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
427 stars 110 forks source link

test(dot/parachain/backing): Issuing conflicting statements on the same candidate should be a misbehavior. #4006

Open axaysagathiya opened 4 weeks ago

axaysagathiya commented 4 weeks ago

If a parachain validator has already issued a Seconded statement shared with other para-validators, and after that, the same validator tries to share a validity statement. It is misbehaviour because the validator can't double vote for the same parachain candidate.

So, we have to test that the subsystem reports the misbehaviour if a validator provides a double vote for the same candidate.