Skip to content

Feature/tick function#931

Merged
Xoulomon merged 3 commits into
Xoulomon:mainfrom
Harbduls:feature/tick-function
May 30, 2026
Merged

Feature/tick function#931
Xoulomon merged 3 commits into
Xoulomon:mainfrom
Harbduls:feature/tick-function

Conversation

@Harbduls
Copy link
Copy Markdown
Contributor

Closes #758

Harbduls added 2 commits May 29, 2026 15:25
- Add CycleAdvanced event with old/new cycle numbers and execution status
- Implement tick() function that checks deadline using env.ledger().timestamp()
- Auto-execute payout if all contributions received
- Mark cycle as defaulted if contributions missing
- Advance cycle and emit events
- Add DeadlineNotReached error type with proper categorization
- Add comprehensive tests for all tick scenarios
- Fix workspace configuration issues
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

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

@Xoulomon Xoulomon merged commit db62f24 into Xoulomon:main May 30, 2026
13 of 42 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.

[Smart Contract] Implement cycle auto-advance via time checks

2 participants