Skip to content

Chore/partial claim accounting - #793

Closed
tobiadewola41-eng wants to merge 2 commits into
Pulsefy:mainfrom
tobiadewola41-eng:chore/partial-claim-accounting
Closed

tobiadewola41-eng wants to merge 2 commits into
Pulsefy:mainfrom
tobiadewola41-eng:chore/partial-claim-accounting

Conversation

@tobiadewola41-eng

Copy link
Copy Markdown

closes #723
Implemented optional partial-claim support for escrow packages so funds can be disbursed across multiple valid claims without breaking package accounting.

What changed
Added tranche-aware package state tracking with:
remaining balance
tranche counter
safe partial-claim accounting
Ensured multiple partial claims can succeed when each claim is valid and within the remaining balance.
Preserved correct behavior for:
final claim draining the remaining balance
over-claim rejection
expiry rejection without corrupting package state
Tests
Added regression coverage for:
successful multi-step partial claims
over-claim rejection
expiry behavior
This keeps the contract behavior consistent for packages that are intentionally disbursed in multiple steps.

@drips-wave

drips-wave Bot commented Jul 23, 2026

Copy link
Copy Markdown

@tobiadewola41-eng 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

@Cedarich Cedarich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Kindly fix failing CI

@Cedarich Cedarich closed this Aug 22, 2026
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.

Support Partial Claims for Tranche-Based Aid Packages

2 participants