cgewecke / hardhat-gas-reporter

Gas Usage Analytics for Hardhat
MIT License
404 stars 55 forks source link

Warn about "unresolved calls" and add option to prevent speculative method attribution #221

Open cgewecke opened 4 months ago

cgewecke commented 4 months ago

Sometimes the reporter is unable to resolve the contract target of a method call. These occurrences are tracked but we don't currently warn about them...

Additionally, the reporter falls back on matching transactions by function signature alone, potentially corrupting data in projects where method sigs shadow each other. This is convenient for cases where solc's deployedBytecode doesn't match the code on-chain but the behavior definitely shouldn't be silent.

We should