Skip to content

test: verify release_funds succeeds at exact deadline - #410

Merged
1nonlypiece merged 1 commit into
Disciplr-Org:mainfrom
emirykl:grantfox/issue-331-no-test-asserts-release-funds-succeeds-at-exactl
Jul 30, 2026
Merged

test: verify release_funds succeeds at exact deadline#410
1nonlypiece merged 1 commit into
Disciplr-Org:mainfrom
emirykl:grantfox/issue-331-no-test-asserts-release-funds-succeeds-at-exactl

Conversation

@emirykl

@emirykl emirykl commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a dedicated test for the inclusive release_funds deadline boundary.
  • Set the ledger timestamp to the persisted vault's exact end_timestamp.
  • Verify successful release, destination balance transfer, and Completed status.

Test evidence

  • cargo test test_release_funds_at_exact_deadline --locked
  • cargo test --locked (67 tests passed)
  • cargo build --locked --verbose
  • cargo clippy --locked -- -D warnings
  • cargo fmt -- --check
  • Merge-conflict marker guard
  • git diff --check

Fixes #331

Verification

  • Focused exact-deadline test passed (1 test)
  • Full cargo test --locked passed (67 tests)
  • cargo build --locked --verbose passed
  • cargo clippy --locked -- -D warnings passed
  • cargo fmt -- --check passed
  • Merge-conflict marker guard passed
  • git diff --check passed

Diagnostics

Recovered command failures: /bin/zsh -lc 'cargo test test_release_funds_at_exact_deadline -- --exact' (101)

@1nonlypiece
1nonlypiece merged commit 39eb342 into Disciplr-Org:main Jul 30, 2026
4 checks passed
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.

No test asserts release_funds succeeds at exactly now == end_timestamp

2 participants