Skip to content

reject explore quest - #69

Merged
merlik787-droi merged 3 commits into
Kqirox:mainfrom
Noble-Devbase:feat/added-reject-explore-quest-admin-path
Jul 28, 2026
Merged

reject explore quest#69
merlik787-droi merged 3 commits into
Kqirox:mainfrom
Noble-Devbase:feat/added-reject-explore-quest-admin-path

Conversation

@Noble-Devbase

@Noble-Devbase Noble-Devbase commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

closes #32
Overview
This PR addresses critical auditability gaps in the Quest Engine by introducing explicit submission and rejection flows for Explore quests. Previously, the verify_explore_quest function was admin-only and paid rewards without any audit trail for rejected submissions, making it impossible to track fraudulent or invalid proof attempts.

Key Improvements:

  • New submit_explore_proof function for learners to log intent and proof hash
  • New reject_explore_quest function with explicit rejection event emission
  • Comprehensive event coverage for all quest lifecycle states
  • Admin action audit trail with reason logging

@merlik787-droi merlik787-droi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@merlik787-droi
merlik787-droi merged commit 50d7917 into Kqirox:main Jul 28, 2026
1 check 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

Development

Successfully merging this pull request may close these issues.

[32] Add reject_explore_quest admin path (current code can only verify/approve)

2 participants