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

When Etherscan rate-limits crytic-compile the following message is displayed. ``` ERROR:CryticCompile:Contract has no public source code: https://api-rinkeby.etherscan.io/api?module=contract&action=getsourcecode&address=0x85E2B172e94Ed1d23D3bc078F327b44736887Db9 ``` Etherscan returns a 200 HTTP with the following json response: ``` {"status":"0","message":"NOTOK","result":"Max...

- [ ] https://github.com/crytic/crytic-compile/issues/210 - [ ] https://github.com/crytic/crytic-compile/issues/208 - [ ] https://github.com/crytic/crytic-compile/issues/218 - [ ] https://github.com/crytic/crytic-compile/issues/219 - [ ] https://github.com/crytic/crytic-compile/issues/209 - [ ] https://github.com/crytic/crytic-compile/issues/197 - [ ] https://github.com/crytic/crytic-compile/issues/157 (@NatalieChin80 )

On this code [base](https://github.com/aloelabs/aloe-blend/blob/master/), a different directory is set in the `.dapprc` config file, but crytic compile is hard coded to look in `out`. We should support dapp configuration. https://github.com/crytic/crytic-compile/blob/1bd1d41e526c53d6f7b315e599fbf0f5a90b8142/crytic_compile/platform/dapp.py#L52-L63

Right now we are not able to compile any project that uses solidity standard json-input format on BSC chain Example projects are: bsc:0xd90A8878a2277879600AA2cba0CADC7E1a11354D and bsc:0x141ccd27bbca7524dc6b7eea1eb41e097d7e832d The output error is shown...

Currently, crytic-compile forces to use exactly the truffle version as in package.json: https://github.com/crytic/crytic-compile/blob/372aa5120e59325ef3740690485e654382e29d71/crytic_compile/platform/truffle.py#L118-L127 However, when a dependency as such is specified: ``` "truffle": "^5.1.51", ``` npm will install the latest...

See https://github.com/crytic/slither/issues/901

enhancement

https://github.com/crytic/crytic-compile/blob/ac753e4aa6532c2092e1e02f14b10dbc1e2f12a4/crytic_compile/platform/waffle.py#L232-L233 This should also detect `.waffle.json`

enhancement
help wanted
good first issue

We are missing the dependencies detection in brownie https://github.com/crytic/crytic-compile/blob/d99e5a7dc8b80b812ef953a766457dd9eb4cbde1/crytic_compile/platform/brownie.py#L96-L103 We might want to take a look at other platforms to see if its the case Reported by @mmartel

Found in the context of echidna but looks like an issue with crytic-compile. See the issue here: https://github.com/crytic/echidna/issues/613

For example, we could have a best-effort approach to detect `hardhat-artifacts-directory` from `hardhat.config.ts`

enhancement