Skip to content

Add EscrowModule.triggerAutoRelease() for keeper bots - #355

Merged
BigBen-7 merged 2 commits into
Lead-Studios:mainfrom
usmanimamu17-create:fix/issue-228-trigger-auto-release
Jul 26, 2026
Merged

Add EscrowModule.triggerAutoRelease() for keeper bots#355
BigBen-7 merged 2 commits into
Lead-Studios:mainfrom
usmanimamu17-create:fix/issue-228-trigger-auto-release

Conversation

@usmanimamu17-create

Copy link
Copy Markdown
Contributor

Summary

Implemented riggerAutoRelease() - a keeper-bot-friendly method that triggers automatic release of an expired escrow without requiring a signing keypair.

Changes

- Add triggerAutoRelease(id, currentLedger?) to EscrowModule
- Callable by anyone (keeper bot use case) — no keypair required
- Pre-flight validates not already settled and expiry ledger reached
- Calls contract trigger_auto_release
- Add unit tests for all validation paths

Closes Lead-Studios#228
@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

@usmanimamu17-create 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

@BigBen-7

Copy link
Copy Markdown
Collaborator

This PR currently has merge conflicts with main and was skipped during the batch merge pass. Please rebase/resolve conflicts and it can be merged.

@BigBen-7
BigBen-7 merged commit bbd07c6 into Lead-Studios:main Jul 26, 2026
1 check failed
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.

feat: add EscrowModule.triggerAutoRelease() — anyone calls release after deadline if beneficiary has not claimed

2 participants