-
Notifications
You must be signed in to change notification settings - Fork 119
Rust instructions #264
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
Rust instructions #264
Conversation
jayantk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally fine. couple minor comments
| OracleCommand::ResizePriceAccount => { | ||
| resize_price_account(program_id, accounts, instruction_data) | ||
| } | ||
| command_t_e_cmd_add_price => add_price(program_id, accounts, instruction_data), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you delete the enum in oracle.h so no one can depend on it in the C?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things still depend, just wanted to stage it incrementally
First step to delete the instruction enum from
oracle.hloadandload_mutnow fail with custom errors.