-
Notifications
You must be signed in to change notification settings - Fork 12
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
Moving ATA checks to IX #6
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -68,4 +68,5 @@ jobs: | |||
name: rust-client-builds | |||
# First wildcard ensures exported paths are consistently under the clients folder. | |||
path: ./targe*/release/*mpl_hybrid* | |||
include-hidden-files: true |
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.
Nit: I don't think you need hidden files for this path because its not in .bin or "dot" anything so its not hidden.
mp14o4AQcmE5meFDxCscervMc1E4zyKEyDp3398PcwU.json | ||
MPL4o4wMzndgh8T1NVDxELQCj5UQfYTYEkabX3wNKtb.json |
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.
Did you want these in the .gitignore? Seems like specific thing to add when I think normally they could be anywhere.
/// CHECK: We check and initialize the token account below. | ||
#[account(mut)] | ||
user_token_account: AccountInfo<'info>, |
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.
Isn't it technically advised to use UncheckedAccount
instead of AccountInfo
for this case?
Moving the ATA checks internal to the IX instead of anchor constraints to optimize stack usage.