Skip to content

test: cover cancel_vault refund transfer#242

Closed
1sgtpepper wants to merge 6 commits into
Disciplr-Org:mainfrom
1sgtpepper:test/cancel-vault-refund
Closed

test: cover cancel_vault refund transfer#242
1sgtpepper wants to merge 6 commits into
Disciplr-Org:mainfrom
1sgtpepper:test/cancel-vault-refund

Conversation

@1sgtpepper

@1sgtpepper 1sgtpepper commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • add lifecycle coverage for cancel_vault refunding the creator through the real token transfer path
  • assert the contract escrow balance returns to its pre-create value and vault status becomes Cancelled
  • update README_CANCEL_VAULT.md to remove stale simulated-balance wording

Closes #232

Validation

  • git diff --check
  • cargo fmt -- --check
  • stale simulated-balance wording grep over README_CANCEL_VAULT.md, tests/lifecycle.rs, and src/lib.rs

@1sgtpepper 1sgtpepper marked this pull request as draft June 20, 2026 02:46
@1sgtpepper 1sgtpepper closed this Jun 20, 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.

Add cancel_vault refund balance-assertion tests aligned with real token transfer

1 participant