Skip to content

feat: address issues 1822-1825 - #1875

Merged
famvilianity-eng merged 1 commit into
StellarCheckMate:mainfrom
meetdarc-tech:feature/1822-1825-oracle-slashes-evidence
Oct 23, 2026
Merged

famvilianity-eng merged 1 commit into
StellarCheckMate:mainfrom
meetdarc-tech:feature/1822-1825-oracle-slashes-evidence

Conversation

@meetdarc-tech

Copy link
Copy Markdown

Summary

Implements the pending-slash query, sequential migration coverage, Grafana dashboard import documentation, and evidence-hash validation requested by issues #1822-#1825.

Related Issue

What Changed

  • Contracts:
    • Added get_pending_slashes(oracle) backed by a per-oracle match index, kept consistent when a slash is staged, finalized, or cancelled.
    • Validate evidence hashes as non-zero 32-byte values encoded as 64 hexadecimal characters, returning InvalidEvidenceHash for invalid inputs.
  • Tests:
    • Added pending-slash enumeration and lifecycle coverage.
    • Added sequential migration checks that verify the dispute period, match count, and stored match data remain readable.
    • Added zero-hash and malformed-hash rejection coverage and updated existing evidence fixtures to the validated format.
  • Docs:
    • Added UI import steps and datasource selection details for the bundled Grafana dashboard.
    • Updated the InvalidEvidenceHash error reference.

Checklist

  • cargo test passes locally - not run as requested.
  • cargo clippy is clean - not run as requested.
  • Tests added or updated for this change.
  • Documentation updated (or no update needed).
  • CHANGELOG.md updated under [Unreleased] - not changed.

closes #1822
closes #1823
closes #1824
closes #1825

@famvilianity-eng
famvilianity-eng merged commit d5c39e5 into StellarCheckMate:main Oct 23, 2026
11 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants