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

Add realloc ix for idl accounts #2337

Closed
crispheaney opened this issue Dec 23, 2022 · 1 comment
Closed

Add realloc ix for idl accounts #2337

crispheaney opened this issue Dec 23, 2022 · 1 comment

Comments

@crispheaney
Copy link
Contributor

crispheaney commented Dec 23, 2022

For large idl's, they can't fit in the 10kb pda account. To get around this, I suggest adding a realloc instruction to increase the size of idl account.

Would dovetail nicely with #2329 which makes sure account creation doesnt fail.

@Henry-E
Copy link
Contributor

Henry-E commented Dec 26, 2022

Even with a realloc ix 10kb is all we can really fit into a PDA account without running into memory issues. Fixing the memory issues is a whole other task that doesn't quite seem worth engaging in at the moment.

@Henry-E Henry-E closed this as completed Dec 26, 2022
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

2 participants