cgewecke / hardhat-gas-reporter

Gas Usage Analytics for Hardhat
MIT License
409 stars 56 forks source link

Only child contract's name shows in report #141

Closed sebastiantf closed 5 months ago

sebastiantf commented 1 year ago

I have an upgradeable contract UnlockFactory and another contract TestUnlockFactoryV2 that is only used for tests and inherits the former. Even though I'm using UnlockFactory for most of the tests, the report only includes TestUnlockFactoryV2. When I exclude TestUnlockFactoryV2, the name then changes to UnlockFactory in the report:

Screenshot 2023-01-19 at 12 30 40 PM

I was using v1.0.8 and tried upgrading to v1.0.9, but the issue still persists I think this might be related to #121

cgewecke commented 5 months ago

I think this was the same problem as #154 and OZ Upgrades related. Closing but just ping if that's not the case.