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
I have two contracts in my project. One of them is an upgradeable version of the other.
I have the same tests for both of them.
The tabular data presented by hardhat-gas-reporter shows in "Deployments" section both contracts
However, in the "Methods" section it's shown only the non upgradeable contract.
After a couple of trials, I renamed one of the methods of the upgradeable version and then this one method with a different name is listed. I imagine that this problem is related with some kind of data structure that uses the method name as key.
Hope this helps to improve this amazing tool.
The text was updated successfully, but these errors were encountered:
fabianorodrigo
changed the title
Project with 2 contracts, only 1 is shown
Contracts with common function names: only one of them is shown in the results
Jul 21, 2022
Hi,
I have two contracts in my project. One of them is an upgradeable version of the other.
I have the same tests for both of them.
The tabular data presented by hardhat-gas-reporter shows in "Deployments" section both contracts
However, in the "Methods" section it's shown only the non upgradeable contract.
When I delete the non upgradeable contract along with its tests, then the methods of upgradeable contract is shown in "Methods" section.
After a couple of trials, I renamed one of the methods of the upgradeable version and then this one method with a different name is listed. I imagine that this problem is related with some kind of data structure that uses the method name as key.
Hope this helps to improve this amazing tool.
The text was updated successfully, but these errors were encountered: