You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a largish solidity project, I have to use different optimization levels for different contracts, due to size restrictions. Currently, I'm doing that via a plain shell script invoking solc. I do, however, use forge for various things (test, bind, etc). Needless to say, that reduces the utility I get from forge's build (gas values are incorrect, the binaries are different, etc).
It would be ideal if we could have per contract build flags in the toml.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Forge
Describe the feature you would like
In a largish solidity project, I have to use different optimization levels for different contracts, due to size restrictions. Currently, I'm doing that via a plain shell script invoking solc. I do, however, use forge for various things (test, bind, etc). Needless to say, that reduces the utility I get from forge's build (gas values are incorrect, the binaries are different, etc).
It would be ideal if we could have per contract build flags in the toml.
Additional context
No response
The text was updated successfully, but these errors were encountered: