Skip to content

feat: add verification expiry (#131)#145

Open
aymide1ee wants to merge 1 commit into
HubDApp:mainfrom
aymide1ee:feat/131-verification-expiry
Open

feat: add verification expiry (#131)#145
aymide1ee wants to merge 1 commit into
HubDApp:mainfrom
aymide1ee:feat/131-verification-expiry

Conversation

@aymide1ee
Copy link
Copy Markdown

Closes #131

  • Add expires_at: Option to VerificationRecord
  • Add VerificationConfig type for admin-configurable duration
  • Set expires_at on approve_verification (default 365 days)
  • Add is_verification_active read API (checks expiry at call time)
  • Add set_verification_duration admin function
  • Add renew_verification owner function (requires fee payment)
  • Add get_verification_duration query
  • Add VerificationRenewedEvent
  • Add verification_expiry test module (8 tests)

- Add expires_at: Option<u64> to VerificationRecord
- Add VerificationConfig type for admin-configurable duration
- Set expires_at on approve_verification (default 365 days)
- Add is_verification_active read API (checks expiry at call time)
- Add set_verification_duration admin function
- Add renew_verification owner function (requires fee payment)
- Add get_verification_duration query
- Add VerificationRenewedEvent
- Add verification_expiry test module (8 tests)
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@aymide1ee 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

@Naomi-Gift
Copy link
Copy Markdown
Contributor

@aymide1ee please resolve conflicts

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 Verification Expiry

2 participants