-
Notifications
You must be signed in to change notification settings - Fork 30
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
Adding batch IX processing. #199
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -292,4 +292,8 @@ pub(crate) enum MplAssetInstruction { | |||
#[account(5, name="system_program", desc = "The system program")] | |||
#[account(6, optional, name="log_wrapper", desc = "The SPL Noop Program")] | |||
UpdateV2(UpdateV2Args), | |||
|
|||
/// Execute multiple instructions. | |||
#[account(0, optional, name="dummy", desc = "Dummy account")] |
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.
What happens if you leave this out? I'm guessing the autogeneration just errors out because it needs at least one account.
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.
Yeah, Shank will fail to generate. And it fails the whole enum macro so you can't even hardcode it.
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.
approved with one question above
No description provided.