Skip to content

chore: resolve TODO on .so file size in scanDeployDirectory#62

Open
Leomrqdd wants to merge 1 commit into
LimeChain:mainfrom
Leomrqdd:chore/resolve-so-size-todo
Open

chore: resolve TODO on .so file size in scanDeployDirectory#62
Leomrqdd wants to merge 1 commit into
LimeChain:mainfrom
Leomrqdd:chore/resolve-so-size-todo

Conversation

@Leomrqdd

Copy link
Copy Markdown

Hey,

I was exploring the gimlet VScode plugin and wanted to help on a simple TO-DO I saw in the source code, it's not much but it could maybe help :

Issue :
Resolves the TODO(lime): any chance of too big .so files? in scanDeployDirectory.

Answer:

-Deployed Solana programs are bounded by MAX_PERMITTED_DATA_LENGTH = 10 MB (program account data cap), so a local .so has no reason to exceed it.
-Measured readFileSync + SHA-256 at the theoretical worst case (10 MB): ~8 ms on my macbook pro M2.

So I don't think there is any chance of too big .so files. Even Jupiter V6 program is like 2.9 MB (.so).

Best,

Léo

@procdump
procdump requested a review from failfmi July 22, 2026 05:50
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