solidity-coverage: Doesn't work with Ganache 7.0
Some ganache internals have been made private… plugin crashes with:
> UnhandledRejections detected
Promise {
<rejected> TypeError: Cannot read private member from an object whose class did not declare it
at __classPrivateFieldGet (/home/circleci/project/metacoin/node_modules/ganache/dist/node/webpack:/Ganache/core/lib/src/server.js:10:94)
at close (/home/circleci/project/metacoin/node_modules/ganache/dist/node/webpack:/Ganache/core/lib/src/server.js:221:13)
at /home/circleci/project/metacoin/node_modules/solidity-coverage/node_modules/pify/index.js:32:6
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 20 (3 by maintainers)
Commits related to this issue
- Depracate coverage due to https://github.com/sc-forks/solidity-coverage/issues/694 — committed to mfigurski80/karmaToken by mfigurski80 2 years ago
Have you tried the beta version described here?
I was encountering the error
TypeError: Cannot read private member from an object whose class did not declare it
and it was fixed by upgrading tosolidity-coverage
version0.8.0-beta.1
.same, sad.
Let me know if you want help updating to the new event system.
@davidmurdoch Apologies, i’ll have time to take a look this week.
Sad day.