Skip to content

feat(market): add validation TODO and fix withdraw test auth issue#194

Open
intelliDean wants to merge 1 commit into
Vatix-Protocol:devfrom
intelliDean:onboarding/issue-92
Open

feat(market): add validation TODO and fix withdraw test auth issue#194
intelliDean wants to merge 1 commit into
Vatix-Protocol:devfrom
intelliDean:onboarding/issue-92

Conversation

@intelliDean
Copy link
Copy Markdown

Context

This PR addresses the onboarding task described in issue #92 to add a TODO with a GitHub issue link near the validation helpers.

Proposed Changes

  • Added a TODO(#77) referencing issue [contracts] Refactor validation helpers for readability #77 near the validation helpers in contracts/market/src/validation.rs.
  • Fixed a bug in contracts/market/src/withdraw.rs unit tests where env.mock_all_auths() was set up after token_client.mint was already called, causing authentication failure. Moving it to the start of the test allows all 93 unit tests to pass successfully.

Verification

  • Verified all 93 unit tests pass locally (cargo test).

Closes #92

@Mimah97
Copy link
Copy Markdown
Contributor

Mimah97 commented May 28, 2026

@intelliDean please resolve conflict

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.

[contracts] Add TODO with issue link near validation helpers

2 participants