Gas reporter crashes after deleting or disabling previously migrated contracts
See original GitHub issueAs reported by @fodisi in issue comment 104, if there are “stale” contracts in the Truffle build
folder - e.g. contracts which you were previously migrating but have removed - the reporter will try to fetch deployment data for them using a transaction hash that no longer exists.
A simple work-around is to rm -rf build
.
Gas reporter should not assume transaction hashes in the build folder are valid.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
hardhat-gas-reporter - npm
Hardhat plugin for eth-gas-reporter, a mocha reporter for Ethereum test suites. Latest version: 1.0.9, last published: 4 months ago.
Read more >Attempting to Delete a Token with ID (0.0.0) Causes Crash/Hang of ...
The protobuf accepts a TokenRef which should accept a symbol Address as an input option, however when submitting a TokenDeletion message using the...
Read more >Report Wizard crashes when reporting on Company Info only ...
Reckon Accounts Hosted does not remember the list of previous company files opened. ... Uploading or downloading the files to and from Reckon...
Read more >Frequently Asked Questions - Flux Wiki
Find answers to questions that have been asked by multiple users.
Read more >Global Trends 2030: Alternative Worlds
As with previous editions, we hope that this report will stimulate strategic thinking by identifying critical trends and potential discontinuities. We ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cgewecke Yes, I think it’s a good idea to do so. I’ll work on it later today and submit a PR with the fix. Thanks for your guidance!
@fodisi Ah yes - that’s the right way 🙂.
Can we also move
this.trackNameByAddress
inside theif
?