Skip to content

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

Merged
peternose merged 1 commit into
v0.37.18-oasisfrom
peternose/bugfix/backport-5820
Jun 5, 2026
Merged

fix(light): stop witness comparison after divergence checks (#5820)#8
peternose merged 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>
@peternose peternose marked this pull request as ready for review May 27, 2026 09:28
@peternose peternose merged commit 30407ab into v0.37.18-oasis Jun 5, 2026
12 of 15 checks passed
@peternose peternose deleted the peternose/bugfix/backport-5820 branch June 5, 2026 08:56
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.

3 participants