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

60kb IDL Limit #3276

Open
luke-truitt opened this issue Sep 25, 2024 · 2 comments
Open

60kb IDL Limit #3276

luke-truitt opened this issue Sep 25, 2024 · 2 comments
Labels
cli idl related to the IDL, either program or client side

Comments

@luke-truitt
Copy link

In some cases, my IDL's are much larger relative to program size so I have run into cases where my program is a valid size but the Anchor CLI won't let me upload the IDL onchain. Would like to make this configurable and upload larger IDL if the user is will to pay for it.

@luke-truitt
Copy link
Author

I can put up a PR but not sure if there are other constraints via the program build that would prevent this. Assuming you would need to know this when building the program.

@acheroncrypto acheroncrypto added cli idl related to the IDL, either program or client side labels Sep 26, 2024
@acheroncrypto
Copy link
Collaborator

What is the size of your IDL? We're also compressing it before writing it on-chain, so the compressed size information would also be helpful.

I don't see why we wouldn't be able to increase it further. However, it's likely the default way of storing the IDL will be inside the program binary itself (rather than a PDA) in the not-so-distant future (#3225).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli idl related to the IDL, either program or client side
Projects
None yet
Development

No branches or pull requests

2 participants