Consensys / truffle-security

MythX smart contract security verification plugin for Truffle Framework
https://mythx.io
124 stars 28 forks source link

Print the job UUID with MythX logs #115

Closed muellerberndt closed 5 years ago

muellerberndt commented 5 years ago

Provide the job UUID if MythX logs are printed. This helps us check up on the issue when the user opens a support ticket. E.g.:

$ truffle run verify
EtherBank |****************************************************************************************************| 100% || Elapsed: 8.8s ✓ completed

/Users/bernhardmueller/Projects/mythx-playground/exercise3/contracts/Etherbank.sol
   1:0   warning  A floating pragma is set                       SWC-103
  17:42  warning  A call to a user-supplied address is executed  SWC-107
  30:4   error    The binary addition can overflow               SWC-101

✖ 3 problems (1 error, 2 warnings)

MythX Logs:
info: failed to start automated fuzz testing
rocky commented 5 years ago

Also showing the filename will help since all of the logs are aggregated as one.