Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all processor functions to use on chain OptionMarket keys rather than account keys where possible #62

Closed
Taylor123 opened this issue Mar 20, 2021 · 0 comments
Labels
enhancement New feature or request security

Comments

@Taylor123
Copy link
Collaborator

This feels like a best practice when generating instructions for cross program invocation.

The main purpose of this is to help guard against bugs that may arise when the accounts in the user's instruction do not match up to those expected in the Processor.

See process_exchange_writer_token_for_quote for an example of how this can be done when burning/transfering SPL tokens

@Taylor123 Taylor123 added enhancement New feature or request security labels Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request security
Projects
None yet
Development

No branches or pull requests

2 participants