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

solana: Replacing AccountInfo with UncheckedAccount leads to stack access violation #510

Open
nvsriram opened this issue Sep 3, 2024 · 1 comment

Comments

@nvsriram
Copy link
Collaborator

nvsriram commented Sep 3, 2024

See #507 (comment)

UncheckedAccount and AccountInfo both represent unchecked accounts in Anchor. As per this feature request, AccountInfo may be deprecated in the future and it is recommended to use UncheckedAccount for readability and performance. However, using UncheckedAccount leads to a stack overflow error.

@nvsriram
Copy link
Collaborator Author

nvsriram commented Sep 3, 2024

Initial debug attempt by Box-ing the rate_limit account in initialize was not enough. See #509

@nvsriram nvsriram changed the title Replacing AccountInfo with UncheckedAccount leads to stack access violation solana: Replacing AccountInfo with UncheckedAccount leads to stack access violation Sep 3, 2024
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

No branches or pull requests

1 participant