question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Namespace conflict with MythX

See original GitHub issue

truffle run verify [MyContract] is the same plugin command used by the MythX plugin. I had to remove truffle-security from plugins to use this one.

https://github.com/ConsenSys/truffle-security

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
rkaliscommented, Oct 15, 2019

A workaround that could be possible is that both the MythX guys and I define a second command in our truffle-plugin files. Then when both truffle-plugin-verify and truffle-security are installed together, a user could still use both of them by their “fallback” command. For me that would be truffle run etherscan and perhaps for truffle-security it could be truffle run mythx.

This would require no changes at Truffle’s side, and could be a valid workaround while a true solution can be developed on the Truffle side. @gnidan would this work with the current Truffle plugin system?

1reaction
rkaliscommented, Dec 4, 2019

@danielrea Awesome work!

So as a reference to anyone finding this down the line.

If you want to use both truffle-plugin-verify, and truffle-security in the same project:

  1. Use truffle-plugin-verify version 0.3.5 or higher & truffle-security version 1.6.2 or higher.
  2. Use the command truffle run etherscan for truffle-plugin-verify & truffle run mythx for truffle-security.
Read more comments on GitHub >

github_iconTop Results From Across the Web

solidity library namespace conflicts · Issue #7644 - GitHub
I would like to use solidity as a library for aleth, but there are namespace conflicts, who can help me solve this problem?...
Read more >
MythX: Smart contract security service for Ethereum
Detect security vulnerabilities in your Ethereum smart contracts throughout the development life cycle. Analyze Solidity dapps for security holes and known ...
Read more >
Error 40020 (http: 409): Namespace conflict ... - Dell
Cause. The issue is a User Admin can't own more than one namespace. The problem is for ECS 2.2. 0, if the User...
Read more >
#6827 (Fix DeleteFile namespace conflict on win32) – MythTV
Win32 builds broke at r21156 due to a namespace conflict with Windows' DeleteFile? macro. The attached patch undefines the problem macro.
Read more >
80. Namespaces - 네이버 블로그
The names in any one namespace don't conflict with names in another namespace. The rules governing declaration and definitions in a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found