crytic-compile
crytic-compile copied to clipboard
Abstraction layer for smart contract build systems
On a second look, I think target is always a directory here, so scratch that last part of my comment. Unrelated to this PR, but I think the check [here](https://github.com/crytic/crytic-compile/pull/488/files#diff-6f65aa5b97bfca7b44a766ca4c355963fd9442ee6f46d72e8739985ee1bf06e4R131-R139)...
A function for exporting CryticCompile object as an archive format to JSON file. https://github.com/crytic/crytic-compile/blob/3a4b0de72ad418b60b9ef8c38d7de31ed39e3898/crytic_compile/crytic_compile.py#L556-L575 The above function calls the function that constructs a standard (archive) format object. https://github.com/crytic/crytic-compile/blob/3a4b0de72ad418b60b9ef8c38d7de31ed39e3898/crytic_compile/platform/standard.py#L264-L271 We use...
### Describe the issue: Hey @0xalpharush great job with the Vyper feature! I'm currently testing the functionalities and I encountered parsing errors if the Vyper contract imports custom interfaces, as...
This option seems to remap the files in the compilation artifacts, and prevent crytic-compile from working. We should investigate how to support it See https://github.com/tinchoabbate/damn-vulnerable-defi/blob/82b6049452c387235ee0b452b0de9f3dca88c072/hardhat.config.js#L18-L23
When trying to compile a solc JSON input, crytic-compile tries to verify all filename inside JSON. However, most of the time, when we use `parse_standard_json_output`, the file does not really...
It might be easier for external tools to distribute cc as a binary. One solution is to use PyInstaller: - Copy `__main__.py` to `launcher.py` - Run `pyinstaller crytic_compile/launch.py` - The...
There's several platforms and export formats that are not documented. It would be great to understand what is legacy and what is the correct choice if one uses the format...