Closed joaosantos15 closed 4 years ago
This is most likely an issue in the path trimming, which is meant to improve user privacy: https://github.com/dmuhs/mythx-cli/blob/master/mythx_cli/analyze/util.py#L16
Trimming is done by a common prefix - I'll have to dig a bit deeper as the prefix seems to be the same at all points.
This has been fixed in #134. The issue was a relative path that snuck in and resulted in a prefix replacement not taking effect. I have also released the patch under version 0.6.15.
Description
Upon inspecting the JSON submitted to the mythx api, we noticed there was a mismatch of source file paths, which prevented issues location decoding from being performed.
Source List included:
Matching entry on the sources object:
Notice how the
UniswapV2ERC20
insources
in prefix bycontracts
but not in thesourceList
.