Brownie does not generate compilation artifacts for dependencies
See original GitHub issueHi,
Overview
When running brownie compile
, the compilation artifacts for the dependencies will not be generated in build/contracts/
. This prevents third-party tools to analyze the contracts (for example https://github.com/crytic/slither/issues/638)
It would be great if all the json could be available after compilation
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Unable to Compile Contract in Brownie (not receiving a .json ...
It says project has been compiled but I don't see the .json file anywhere. Do you have any suggestions? I think I may...
Read more >The Build Folder — Brownie 1.14.5 documentation
Brownie generates compiler artifacts for each contract within a project, which are stored in the build/contracts folder. The structure of these files are...
Read more >eth-brownie/community - Gitter
I have a problem: brownie.reverts() does not handle "base fee exceeds gas limit" ... What should I do to make brownie script work...
Read more >Brownie Documentation - Read the Docs
This will send the compiled build artifacts to MythX for analysis. By default no login is required and the analysis is.
Read more >Fixing metadata with component metadata rules
The main difference between writing rules and defining dependencies and artifacts in the build script is that component metadata rules, following the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @iamdefinitelyahuman, if the files are copied into
build/contracts/dependencies/[org]/[repo]@[version]/
it will work for slither.We could make it work with
~/.brownie
, but looking only into the local folder is probably a cleaner option.Hey @montyly Thanks for the response. Can I do this now manually by copying json files from .brownie folder? Like how should the build structure folder be for that??