Open PaulRBerg opened 3 years ago
Thanks for the suggestion, I've enabled discussions.
Currently you would only be able to run in this context by keeping those contracts in separate directories, and including the option when running -i contracts/subdir
.
Thanks for the suggestion, I've enabled discussions.
Nice. You can also convert this issue to a discussion - there's a button on the right-hand side of the screen.
Currently you would only be able to run in this context by keeping those contracts in separate directories, and including the option when running -i contracts/subdir.
Argh, yeah I'll have to refactor my code. Thanks anyway!
Argh, yeah I'll have to refactor my code.
Sorry about that!
Keeping this open as an issue because I recognize it's a legitimate problem we should solve, and it's going to happen more and more as projects mature.
Eventually the solution is I think to turn this into a Hardhat plugin where compilation is done by Hardhat which already supports multiple versions. We lose some generality by tying to Hardhat but we could add a fallback to something like what the tool does today.
We've got the same problem. Hardhat plugin will do great for us.
Hardhat plugin is being worked on, see #350.
When running
solidity-docgen
in a project that uses multiple Solidity compilers, I am getting this error:How could I use this tool with multiple Solidity compilers?
Side note: it might be worth it to enable discussions in this GitHub repository.