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

Making the pool state account unchecked is breaking code #21

Open
me-imfhd opened this issue Aug 30, 2024 · 2 comments
Open

Making the pool state account unchecked is breaking code #21

me-imfhd opened this issue Aug 30, 2024 · 2 comments

Comments

@me-imfhd
Copy link

I was using anchor 0.30.1 and solana 1.18.20 versions
Earlier when pool state account was deserialized with AccountLoader struct, everything was working, tests were passing, but now after pulling the latest commit, when having the poolstate account as unchecked, I am facing different kinds of errors.

image image

CC: @0x777A

@RainRaydium
Copy link
Contributor

Because compared to anchor 0.29, the anchor framework in version 0.30.1 consumes more stack space, resulting in stack overflow. However, they will be optimized in version 0.31. We will update after version 0.31 is released.

So you can use anchor 0.29 and solana<1.18.0 versions to confirm and test.

@me-imfhd
Copy link
Author

Thanks

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

3 participants
@RainRaydium @me-imfhd and others