cleanunicorn / mythos

CLI client for the MythX API
https://mythx.io/
20 stars 6 forks source link

[BUG] Selected compiler version: vUnknown #37

Closed sjukeshov closed 5 years ago

sjukeshov commented 5 years ago

Describe the bug little problem with provided Selected compiler version: vUnknown

To Reproduce Steps to reproduce the behavior:

  1. Analyze any contract with issue like https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-100#visibility-not-setsol
  2. for example above mythos analyze contracts/visibility_not_set.sol HashForEther
  3. Error generated Covered paths: 7 Selected compiler version: vUnknown

Expected behavior v0.4.24

Context information

cleanunicorn commented 5 years ago

This represents the selectedCompiler key from the JSON response. I removed the v prefix, but I still display Unknown.