Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beefy equivocation: check all the MMR roots #5857

Merged
merged 6 commits into from
Oct 1, 2024

Conversation

serban300
Copy link
Contributor

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.

@serban300 serban300 added R0-silent Changes should not be mentioned in any release notes T15-bridges This PR/Issue is related to bridges. labels Sep 27, 2024
@serban300 serban300 self-assigned this Sep 27, 2024
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.
substrate/primitives/consensus/beefy/src/payload.rs Outdated Show resolved Hide resolved
substrate/primitives/consensus/beefy/src/payload.rs Outdated Show resolved Hide resolved
substrate/frame/beefy-mmr/src/lib.rs Outdated Show resolved Hide resolved
@acatangiu acatangiu removed the R0-silent Changes should not be mentioned in any release notes label Sep 30, 2024
@acatangiu
Copy link
Contributor

needs prdoc and is good to go

prdoc/pr_5857.prdoc Outdated Show resolved Hide resolved
@serban300 serban300 added this pull request to the merge queue Oct 1, 2024
Merged via the queue into paritytech:master with commit 3de2a92 Oct 1, 2024
219 checks passed
@serban300 serban300 deleted the beefy-equivocation-runtime branch October 1, 2024 18:10
paritytech-ci pushed a commit that referenced this pull request Oct 1, 2024
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.

---------

Co-authored-by: Adrian Catangiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T15-bridges This PR/Issue is related to bridges.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants