crytic-compile
crytic-compile copied to clipboard
Abstraction layer for smart contract build systems
This PR adds the ability to defer compilation at a later stage, instead of doing it at the time of the `CryticCompile` object. This is useful when the client code...
The root config should be set as the working directory so that symbolic links are not required and node_modules/libs can be found automatically https://github.com/superfluid-finance/protocol-monorepo/blob/2dbb63e63c57e0e0528f65a09d001f48b0029778/packages/ethereum-contracts/foundry.toml#L2 see for more context https://github.com/crytic/echidna/issues/651#issuecomment-1648468816
This should use https://packaging.pypa.io/en/stable/version.html to create a parsed semantic version https://github.com/crytic/crytic-compile/blob/727cd9189fcc3968688461e0e91083972a718327/crytic_compile/compiler/compiler.py#L31
We should create a way to query compilation unit, source files, and contract object with the ability to filter at each level. Basically something like https://fbinfer.com/docs/man-infer-debug
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26. Release notes Sourced from cachix/install-nix-action's releases. v26 Bump to Nix 2.20.5 to address CVE-2024-27297 / GHSA-2ffj-w4mj-pg37. Commits 8887e59 Nix: 2.20.5 39a075c bump See full...
```bash % cat test.sol contract A{ /** * @custom:customfield * @notice This is the notice * @param a This is a * @param b This is b */ function test(uint...
You can reproduce the error by following the software repository below: https://github.com/sherlock-audit/2023-08-cooler crytic-compile: 0.3.4 Looking forward to your reply ☺
https://github.com/crytic/crytic-compile/actions/runs/7544463217/job/20537906423#logs
We should consider deprecating these to reduce debt and clean up the CLI I've never seen a project use Embark or Waffle. Truffle is also less common and has poor...
Brownie can't be tested or likely used alongside crytic-compile for python3.10,3.11,3.12. It's unclear the maintenance status, and we may have to drop support when we upgrade our minimum python version....