foundry-rs / foundry-rs/foundry

feat(`forge build`): breakdown contract size to each imported contract / lib size

Open
#8,415 1 comment 0 reactions 0 assignees View on GitHub
C-forge Cmd-forge-build T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Forge

### Describe the feature you would like

During `forge build --size`, Would be nice to see a contract's full size broken down into steps that each shows the contract size of each imported contract. Would help to figure out which imported contract is contributing most to the final bytecode size

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.