Skip to content

feat(dispute): add get_disputes_by_resolver index#362

Open
AbdulmujibOladayo wants to merge 3 commits into
Lead-Studios:mainfrom
AbdulmujibOladayo:feat/issue-201-disputes-by-resolver
Open

feat(dispute): add get_disputes_by_resolver index#362
AbdulmujibOladayo wants to merge 3 commits into
Lead-Studios:mainfrom
AbdulmujibOladayo:feat/issue-201-disputes-by-resolver

Conversation

@AbdulmujibOladayo
Copy link
Copy Markdown
Contributor

Summary

Adds a per-resolver index so resolvers can list all disputes assigned to them without scanning all records.

Changes

  • Add DataKey::ResolverDisputes(Address) to storage_types.rs
  • open_dispute appends to the resolver list; resolve_dispute removes from it
  • Add get_disputes_by_resolver(e, resolver) -> Vec in dispute.rs
  • Expose in contract.rs

closes #201

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@AbdulmujibOladayo 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_resolver — list all disputes assigned to a given resolver

1 participant