Contract denylist for gas reports
Component
Forge
Describe the feature you would like
The gas_reports config option can be used to allowlist a specific set of contracts, or use it as a pass-through flag (*) to enable gas reports for all contracts.
It is not currently possible to denylist (i.e. blacklist) some contracts, though this would be quite useful in practice. It's often the case that you want to get an overview of all the contracts that you wrote, but exclude certain testing dependencies.
We could name this gas_reports_ignore or gas_reports_denylist.
Additional context
No response
I think this would add the feature.
I can't figure out how to write tests for it. So any help testing it would be appreciated :)
Please open up a draft PR so we can address it there :)
Closed in #2528