Skip to content

feat(dispute): add get_dispute_history_for_escrow — full dispute history per escrow#369

Open
Leothosine wants to merge 3 commits into
Lead-Studios:mainfrom
Leothosine:feat/issue-198-dispute-history
Open

feat(dispute): add get_dispute_history_for_escrow — full dispute history per escrow#369
Leothosine wants to merge 3 commits into
Lead-Studios:mainfrom
Leothosine:feat/issue-198-dispute-history

Conversation

@Leothosine
Copy link
Copy Markdown

Summary

Adds EscrowDisputeHistory storage key and get_dispute_history_for_escrow so callers can retrieve all historical dispute IDs for an escrow, not just the current open one.

Changes

  • Add DataKey::EscrowDisputeHistory(u32) to storage_types.rs
  • open_dispute appends new dispute ID to the history list
  • Add get_dispute_history_for_escrow(e, escrow_id) -> Vec
  • Expose in contract.rs

closes #198

@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

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 get_disputes_by_escrow — query all disputes (historical) for a given escrow

1 participant