Skip to content

Display program size for each import during leo build#29554

Open
mvanhorn wants to merge 1 commit into
ProvableHQ:masterfrom
mvanhorn:fix/29174-import-program-sizes
Open

Display program size for each import during leo build#29554
mvanhorn wants to merge 1 commit into
ProvableHQ:masterfrom
mvanhorn:fix/29174-import-program-sizes

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

Motivation

The program-sizes report only listed the primary program, so a developer reviewing a program that pulls in several imports had no per-import size breakdown and could not tell which dependency dominated the on-chain footprint. This adds an import-size line per imported program, formatted consistently with the existing primary-program size output. Closes #29174.

Test Plan

Updated the affected CLI expectation snapshots so they include the new import-size lines, and confirmed the formatting matches the existing primary-size rendering. Run the CLI test suite to verify the snapshots match.

Related PRs

None.

AI was used for assistance.

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.

[Feature] Display program size of all imports

1 participant