Skip to content

feat: add proposal expiry mechanism and finalize_expired_proposal#260

Merged
codebestia merged 1 commit into
codebestia:mainfrom
eischideraa-unn:feature/proposal-expiry
Jun 28, 2026
Merged

feat: add proposal expiry mechanism and finalize_expired_proposal#260
codebestia merged 1 commit into
codebestia:mainfrom
eischideraa-unn:feature/proposal-expiry

Conversation

@eischideraa-unn

@eischideraa-unn eischideraa-unn commented Jun 28, 2026

Copy link
Copy Markdown

Description
This PR introduces proposal expiry functionality to the codebase. It adds finalize_expired_proposal to the
proposals contract, allowing anyone to transition Active (pending) proposals that have surpassed their
expires_at timestamp to an Expired status. Correspondingly, the group_treasury contract has been updated to
panic if a member attempts to vote on a proposal that has already expired.

Closes #126

Type of change

  • New feature

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally
  • My code follows the project's coding standards

Add finalize_expired_proposal to proposals contract to transition Pending proposals to Expired after expiry. Update group_treasury to panic when attempting to vote on an Expired proposal.
@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@eischideraa-unn 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

@codebestia codebestia left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM!
Thank you for your contribution.

@codebestia codebestia merged commit 611f47f into codebestia:main Jun 28, 2026
4 checks 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.

Add proposal expiry and finalize_expired_proposal

2 participants