cgewecke / hardhat-gas-reporter

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

Diamonds support #237

Open temporaryna opened 1 month ago

temporaryna commented 1 month ago

Will there be any support for the diamond pattern soon?

There is good support for deployment in hardhat-deploy, will be great to have some gas reports for diamonds also.

cgewecke commented 1 month ago

@temporaryna Yes, agree this would be nice to have out of the box, although it should be possible for users to do this now using the proxyResolver option.

Could you suggest a project that uses diamonds which would be a good example to look at for implementation details? Ideally of low-to-medium complexity - I'd like a real-world target to test any new feature here against.

temporaryna commented 1 month ago

@cgewecke I made simple project for example, the easiest way to implement diamond pattern, just be sure to check your commands and hardhat settings to test

https://github.com/temporaryna/hardhat-diamond-example

cgewecke commented 1 month ago

@temporaryna Oh thanks so much!!