paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.89k stars 696 forks source link

Beefy equivocation: check all the MMR roots #5857

Closed serban300 closed 1 month ago

serban300 commented 1 month ago

Normally, the BEEFY protocol only accepts a single MMR Root entry in a commitment's payload. But to be extra careful, when validating equivocation reports, let's check all the MMR roots, if there are more.

acatangiu commented 1 month ago

needs prdoc and is good to go