Skip to content

Accrue revenue only after on-chain confirmation - #1544

Open
Joseph-tech10 wants to merge 1 commit into
CalloraOrg:mainfrom
Joseph-tech10:fix/issue-1498
Open

Joseph-tech10 wants to merge 1 commit into
CalloraOrg:mainfrom
Joseph-tech10:fix/issue-1498

Conversation

@Joseph-tech10

Copy link
Copy Markdown

Summary

  • Index confirmed usage events from the primary database with durable checkpointing and retry handling.
  • Handle voids by reversing unsettled entries or recording compensation for settled entries.
  • Add tests and documentation for confirmation, retries, reversals, and payout invariants.

Verification

  • git diff --check passed.
  • Tests and PostgreSQL EXPLAIN checks were not run because dependencies and a local database are unavailable in this environment.

Closes #1498

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@Joseph-tech10 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

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.

Accrue revenue_ledger rows only for on-chain-confirmed usage events

1 participant