question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting 'artifactType' breaks the gas report

See original GitHub issue

Description

Setting any value to artifactType, even a correct value like “truffle-v5” or “buidler-v1”, breaks the gas report:

Capture d’écran 2020-10-20 à 20 00 10

Steps to Reproduce

  1. Fork mainframe-lending-protocol
  2. Switch to the gasReporterBug branch
  3. Install dependencies with yarn
  4. Uncomment “artifactType” line in buidler.config.ts
  5. Run tests via yarn run (don’t worry, I set .only on a describe so that it doesn’t take long)

Environment

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cgeweckecommented, Oct 20, 2020

@PaulRBerg

Yes tbh it’s not really meant to be used with buidler.

Was added mostly to try to help address #128 and make buidler-gas-reporter-like integrations possible.

Thanks for finding this…it’s not very well explained.

0reactions
paulrbergcommented, Oct 20, 2020

Happy to help. Sorry, I guess I should’ve opened this in the buidler-gas-reporter repo instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eth-gas-reporter | Yarn - Package Manager
Require config gas price to be expressed in gwei (breaking change) · Use eth gas station API for gas price (it's more accurate)...
Read more >
eth-gas-reporter - Bountysource
Setting any value to artifactType , even a correct value like "truffle-v5" or "buidler-v1", breaks the gas report: Capture d'écran 2020-10-20 à 20...
Read more >
eth-gas-reporter - UNPKG
- Add artifactType option as a user defined function so people use with any compilation artifacts. 94, - Add codechecks integration. 95 ...
Read more >
Questions and Answers | Darpa
Question: Will DARPA provide a training set of image data for ... Question: Gas leaks and low oxygen levels will be an artifact...
Read more >
https://raw.githubusercontent.com/cgewecke/eth-gas...
Changelog: eth-gas-reporter # 0.2.23 / 2021-11-26 - Add notes to README about ... Add artifactType option as a user defined function so people...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found