Skip to content

feat(dispute): add appeal window — allow losing party to contest resolution#370

Merged
BigBen-7 merged 3 commits into
Lead-Studios:mainfrom
Leothosine:feat/issue-199-appeal-window
May 31, 2026
Merged

feat(dispute): add appeal window — allow losing party to contest resolution#370
BigBen-7 merged 3 commits into
Lead-Studios:mainfrom
Leothosine:feat/issue-199-appeal-window

Conversation

@Leothosine
Copy link
Copy Markdown
Contributor

Summary

Adds an appeal window after resolve_dispute. The claimant can call appeal_dispute within APPEAL_WINDOW (1000) ledgers to escalate to a new resolver.

Changes

  • Add appeal_deadline_ledger: u32 to DisputeRecord
  • Add DisputeStatus::Appealed variant
  • resolve_dispute sets appeal_deadline_ledger = current_ledger + APPEAL_WINDOW
  • Add appeal_dispute(e, appellant, dispute_id, new_resolver) — claimant only, within window
  • Expose in contract.rs

closes #199

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@Leothosine Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@BigBen-7 BigBen-7 merged commit dc2756d into Lead-Studios:main May 31, 2026
1 check failed
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.

feat: add dispute appeal window — allow losing party to contest resolution within N ledgers

2 participants