-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add gas inspection plugin #1936
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1936 +/- ##
==========================================
- Coverage 67.67% 64.86% -2.81%
==========================================
Files 52 52
Lines 2741 2741
Branches 708 708
==========================================
- Hits 1855 1778 -77
- Misses 883 960 +77
Partials 3 3 ☔ View full report in Codecov by Sentry. |
@@ -12,6 +12,7 @@ require("hardhat-deploy-ethers"); | |||
require("hardhat-gas-reporter"); | |||
require("solidity-coverage"); | |||
require("@openzeppelin/hardhat-upgrades"); | |||
require("hardhat-gas-trackooor"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this plugin hasn't been updated in about 18 months. The GitHub repo has no activity either. Would be better if we can use something that's being actively maintained
How is this better than Example output from running the OETH Oracle Router fork tests
|
To measure the gas usage of any transaction wrap it into
GetGas
globally defined function. Example:example output: