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

Moving ATA checks to IX #6

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Moving ATA checks to IX #6

merged 3 commits into from
Nov 9, 2024

Conversation

blockiosaurus
Copy link
Contributor

Moving the ATA checks internal to the IX instead of anchor constraints to optimize stack usage.

Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mpl-hybrid-js-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 24, 2024 5:30pm

@@ -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
Copy link
Contributor

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.

Comment on lines +23 to +24
mp14o4AQcmE5meFDxCscervMc1E4zyKEyDp3398PcwU.json
MPL4o4wMzndgh8T1NVDxELQCj5UQfYTYEkabX3wNKtb.json
Copy link
Contributor

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.

Comment on lines +52 to +54
/// CHECK: We check and initialize the token account below.
#[account(mut)]
user_token_account: AccountInfo<'info>,
Copy link
Contributor

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?

@blockiosaurus blockiosaurus merged commit c2e2718 into main Nov 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants