Skip to content

Feature/resolution cooldown v7 - #967

Merged
greatest0fallt1me merged 2 commits into
Predictify-org:masterfrom
Emmanuel-Ugochukwu1:feature/resolution-cooldown-v7
Jul 25, 2026
Merged

greatest0fallt1me merged 2 commits into
Predictify-org:masterfrom
Emmanuel-Ugochukwu1:feature/resolution-cooldown-v7

Conversation

@Emmanuel-Ugochukwu1

Copy link
Copy Markdown
Contributor

closes #938

Add comprehensive authorization snapshot tests for all dispute entrypoints:
- Admin-scoped: resolve_dispute, set_history_cap, set_anti_grief_floor
- User-scoped: dispute_market (vote_on_dispute via auth boundary)
- Includes unauthorized rejection tests for each admin entrypoint

Closes Predictify-org#941
Add per-function admin action cooldown to resolution entrypoints:
- New DataKey variants: ResolutionCooldownSeconds, ResolutionAdminLastAction(Symbol)
- check_resolution_cooldown helper and set_resolution_cooldown entrypoint
- Cooldown enforced on: resolve_market_manual, resolve_market_with_ties,
  force_resolve_market

Closes Predictify-org#938
@drips-wave

drips-wave Bot commented Jul 24, 2026

Copy link
Copy Markdown

@Emmanuel-Ugochukwu1 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

@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Merged into master via admin resolver (-X theirs).

@greatest0fallt1me
greatest0fallt1me merged commit c150b40 into Predictify-org:master Jul 25, 2026
0 of 2 checks passed
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

LGTM — small and clear. Merging 🙏

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.

Add admin cooldown for resolution critical actions (v7)

2 participants