You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following issue shows 2 sets of code that are really similar, however, one version of the code works with --coverage as intended, while the second breaks the system for some reason
TL;DR main -> Coverage works feat-dust-handling -> Coverage doesn't work and sets up an empty file that looks like this:
I have no clue but assume that the differences between the two code-bases (which are very minor) should help you shed light into this pretty obscure behaviour
The text was updated successfully, but these errors were encountered:
The following issue shows 2 sets of code that are really similar, however, one version of the code works with
--coverage
as intended, while the second breaks the system for some reasonTL;DR
main
-> Coverage worksfeat-dust-handling
-> Coverage doesn't work and sets up an empty file that looks like this:Repository: https://github.com/GalloDaSballo/badger-onchain-rewards
Environment information
brownie
Version: 1.15 upwards to 1.19.0ganache-cli
6.12.2solc
Version: 0.8.12What was wrong?
Running tests with
--coverage
flag produces empty json object.I've tried with every brownie version since 1.15.2 and all tests run and pass properly, but coverage
.json
file is a bunch of empty json data.Please include information like:
Has been tried by multiple devs, with the code in this repository:
https://github.com/GalloDaSballo/badger-onchain-rewards/tree/feat-dust-handling
Coverage does work for:
https://github.com/GalloDaSballo/badger-onchain-rewards/tree/b0.1
brownie test --coverage
How can it be fixed?
I have no clue but assume that the differences between the two code-bases (which are very minor) should help you shed light into this pretty obscure behaviour
The text was updated successfully, but these errors were encountered: