crytic-compile icon indicating copy to clipboard operation
crytic-compile copied to clipboard

Abstraction layer for smart contract build systems

Results 111 crytic-compile issues
Sort by recently updated
recently updated
newest added

Following the https://github.com/trailofbits/manticore/issues/909 discussion: We need to improve https://github.com/crytic/crytic-compile/blob/35370b6202ba3cee0f10be7ede8076658fca1b38/crytic_compile/crytic_compile.py#L942-L956 To handle newer versions of the metadata encoding, including: - [`0.5.15`](https://solidity.readthedocs.io/en/v0.5.15/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode) ``` 0xa2 0x65 'b' 'z' 'z' 'r' '1' 0x58 0x20...

enhancement
help wanted
good first issue

Looks like this is missing hardhat and needs updating https://github.com/crytic/crytic-compile/wiki/Configuration

Traceback (most recent call last): File "/home/ethsec/.local/lib/python3.6/site-packages/slither/__main__.py", line 744, in main_impl ) = process_all(filename, args, detector_classes, printer_classes) File "/home/ethsec/.local/lib/python3.6/site-packages/slither/__main__.py", line 76, in process_all compilations = compile_all(target, **vars(args)) File "/home/ethsec/.local/lib/python3.6/site-packages/crytic_compile/crytic_compile.py", line...

https://github.com/crytic/crytic-compile/blob/99a1de5bea86d060b80837eea0d73f34b79d3acc/crytic_compile/compilation_unit.py#L331-L357 The libraries info could be set through the config file, or the cli flag, to ease the integration with third party code

echidna-test: Couldn't compile given file stdout: stderr: Traceback (most recent call last): File "/home/madhankumar/.local/bin/crytic-compile", line 8, in sys.exit(main()) File "/home/madhankumar/.local/lib/python3.8/site-packages/crytic_compile/__main__.py", line 192, in main compilations = compile_all(**vars(args)) File "/home/madhankumar/.local/lib/python3.8/site-packages/crytic_compile/crytic_compile.py", line...

### Describe the issue: If any project files do not contain bytecode it causes slither to freak out. ### Code example to reproduce the issue: ```javascript /* * SPDX-License-Identifier: BSD...

bug-candidate

### What happened? When running slither on a brownie based project I see the following error output: ``` Missing inheritance Missing inheritance Missing inheritance Missing inheritance Traceback (most recent call...

bug

### Describe the issue: I'm seeing an error when running `slither .` in two foundry repos (both are currently private or I'd link to them). `crytic-compile .` runs successfully, but...

bug

### Describe the issue: With `pwd` being the hardhat project root (where `hardhat.config.ts` sits), it doesn't seem to be possible to flatten the contracts. Running `slither-flat --compile-force hardhat . --strategy...

bug-candidate

We should add a table that summarizes the limitations due to known bugs. On the top of my head: Feature | Hardhat | Truffle | Foundry | Brownie | |---|---|---|---|--|...