-
Notifications
You must be signed in to change notification settings - Fork 57
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
The --no-compile
flag and gas report completeness
#104
Comments
Oh interesting. Do you mean you only get a partial report and newly compiled contracts are missing? The plugin loads compilation artifacts as part of a mocha configuration step (I'd guess this must happen before auto-compilation). And it uses (Just leaving a note for myself that this is where we bind that for consumption in the mocha reporter at eth-gas-reporter). hardhat-gas-reporter/src/index.ts Line 184 in 104db50
|
Precisely.
|
Ah! Thanks for reporting and looking at that. Not sure what to do about this off the top of my head.... |
hardhat-gas-reporter produces complete gas reports for
hh test --no-compile
but excludes my contracts forhh test
run without the--no-compile
flag. Unable to pinpoint a root cause and don't have a reproducible example yet, but wanted to check if there are known issues why compilation might cause hardhat-gas-reporter to miss contract calls. Other plugins in use that may be relevant include hardhat-abi-exporter, hardhat-solpp, and hardhat-dependency-compiler.The text was updated successfully, but these errors were encountered: