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 #549

Open
theDefiBat opened this issue Aug 27, 2023 · 1 comment · May be fixed by #574
Open

PDA max size is 10MB #549

theDefiBat opened this issue Aug 27, 2023 · 1 comment · May be fixed by #574

Comments

@theDefiBat
Copy link

"PDA accounts have a max size of 10KB (10 Kilo Bytes)"
but the current maximum size of PDA account is 10 MB, although during initialisation it is can be max 10KB but the size can be increased by 10 KB per account and per instruction.
i guess this changed after realloc instruction was added and now it goes similar to Accounts ..
image

@ATREAY ATREAY linked a pull request Jan 14, 2024 that will close this issue
@ATREAY
Copy link

ATREAY commented Jan 16, 2024

Hey @theDefiBat, I've made the necessary changes. Could you please take a look when you have a moment?

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 a pull request may close this issue.

2 participants