Skip to content

feat: emit funds_released event on successful escrow payout#165

Open
Ndifreke000 wants to merge 1 commit intoanonfedora:masterfrom
Ndifreke000:feature/issue-147-emit-funds-released-event
Open

feat: emit funds_released event on successful escrow payout#165
Ndifreke000 wants to merge 1 commit intoanonfedora:masterfrom
Ndifreke000:feature/issue-147-emit-funds-released-event

Conversation

@Ndifreke000
Copy link
Copy Markdown
Contributor

Closes #147

  • Added FundsReleased event emission in release_funds_on_confirmation function
  • Event includes escrow_id, recipient (seller), amount, and asset address
  • Event symbol: 'fnd_rel' for efficient on-chain storage
  • Added test case to verify event emission with correct values
  • Event is emitted after status update for consistency
  • Enables real-time indexing and frontend updates via event monitoring

Closes anonfedora#147

- Added FundsReleased event emission in release_funds_on_confirmation function
- Event includes escrow_id, recipient (seller), amount, and asset address
- Event symbol: 'fnd_rel' for efficient on-chain storage
- Added test case to verify event emission with correct values
- Event is emitted after status update for consistency
- Enables real-time indexing and frontend updates via event monitoring
@Ndifreke000 Ndifreke000 requested a review from anonfedora as a code owner March 27, 2026 10:59
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 27, 2026

Warning

Rate limit exceeded

@Ndifreke000 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 26 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 28 minutes and 26 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 13f298a7-d55c-4f54-a24e-a015a8a92514

📥 Commits

Reviewing files that changed from the base of the PR and between 23d41e7 and 45aaf09.

📒 Files selected for processing (1)
  • contracts/escrow-manager/src/lib.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

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

@anonfedora
Copy link
Copy Markdown
Owner

Check failing contract CI, please

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.

[EscrowManager] Emit funds_released event on successful payout**

2 participants