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

PDA max size is 10MB as of other accounts #553

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ochaloup
Copy link

I would like to fix a wrong definition of max sizes that are defined in the doc.
The Solana max size of an account is 10MB. The 10KB is max size that the runtime permits to realloc at one call (https://github.com/solana-labs/solana/blob/master/sdk/program/src/account_info.rs#L133). The PDA can be created in 10KB size but can be reallocated up to 10MB size as system accounts.

@vercel
Copy link

vercel bot commented Sep 18, 2023

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

Name Status Preview Comments Updated (UTC)
solana-cookbook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 7:16am

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.

1 participant