aquiladev / remix-mythx-plugin

The plugin allows executing security check via MythX in Remix IDE
http://remythx.xyz
MIT License
16 stars 14 forks source link

Don't show warning message if contract was already compiled. #12

Closed Gtonizuka closed 5 years ago

Gtonizuka commented 5 years ago

On first instance of the plugin it stills shows “You must compile first” even though the user has already compiled the contract You can reproduce the above behaviour by:

  1. Open an incognito window
  2. Go to remix
  3. First enable the Solidity Compiler plugin
  4. Compile contracts
  5. Enable MythX
yann300 commented 5 years ago

calling the remix-plugin method getCompilationResult when plugin loads should fix the issue... @GrandSchtroumpf