Skip to content

Add partial milestone release support#263

Open
alanamind7 wants to merge 1 commit into
Disciplr-Org:mainfrom
alanamind7:feature/partial-milestone-release
Open

Add partial milestone release support#263
alanamind7 wants to merge 1 commit into
Disciplr-Org:mainfrom
alanamind7:feature/partial-milestone-release

Conversation

@alanamind7

Copy link
Copy Markdown

Closes #218

Summary

  • Add partial milestone release support so an authorized verifier can release only part of a funded vault amount.
  • Track remaining vault balance and keep the vault active until the final release completes it.
  • Preserve existing access control and terminal-state protections for cancelled, failed, and completed vaults.
  • Document the partial release flow and add focused coverage for partial release lifecycle behavior.

Validation

  • git diff --check
  • cargo test attempted on the VPS, but the installed Cargo is 1.75.0 while this repository declares rust-version 1.80 and uses Cargo.lock v4, so the VPS toolchain cannot parse the lockfile. The PR is ready for CI or a local Rust >=1.80 test run.

Notes

  • The change is scoped to the milestone release path and avoids custody/transfer behavior outside the contract's existing authorization model.

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.

Add partial / milestone-split fund release to release_funds in src/lib.rs

1 participant