Skip to content

fix(light): stop witness comparison after divergence checks (#5820)#8

Draft
peternose wants to merge 1 commit into
v0.37.18-oasisfrom
peternose/bugfix/backport-5820
Draft

fix(light): stop witness comparison after divergence checks (#5820)#8
peternose wants to merge 1 commit into
v0.37.18-oasisfrom
peternose/bugfix/backport-5820

Conversation

@peternose
Copy link
Copy Markdown

…#5820)

Return immediately when a witness reports conflicting headers or
proposer-priority divergence so the detector cannot treat a mismatch as
a valid match. Add a detector test that keeps header hashes equal while
diverging proposer priorities to verify ErrProposerPrioritiesDiverge is
returned.

---

- [x] Tests written/updated
- [x] Changelog entry added in `CHANGELOG.md`
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: Matt Acciai <matt@cosmoslabs.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants