Skip to content

Conversation

@devwraithe
Copy link
Owner

Summary

  • add validation to ensure user collateral and vault accounts match the market configuration
  • guard margin account ownership and reuse while fixing initialization logs
  • extend error codes to cover invalid collateral scenarios

Testing

  • cargo fmt
  • cargo test

https://chatgpt.com/codex/tasks/task_e_68e251ac29ec832ab5353b0b1e02af24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants