crytic-compile
crytic-compile copied to clipboard
Abstraction layer for smart contract build systems
Closes https://github.com/crytic/crytic-compile/issues/231 I updated the wiki. also added it to the CLI since I regularly check what chains crytic-compile supports when using slither and find that useful. This PR adds...
Currently, crytic-compile has a function to take a source file offset and convert it into line and character position numbers. To reverse this operation, `get_global_offset_from_line` could be used, but it...
``` --hardhat-ignore-compile Do not run hardhat compile --hardhat-cache-directory HARDHAT_CACHE_DIRECTORY Use an alternative hardhat cache directory (default ./cache) --hardhat-artifacts-directory HARDHAT_ARTIFACTS_DIRECTORY Use an alternative hardhat artifacts directory (default ./artifacts) ``` We can...
### Describe the desired feature Yarn version 2 and above are quickly becoming industry standard due to the optimal way of package management. Especially with PnP mode of dependencies, there...
If an address is the proxy of a contract, take also the current implementation
https://github.com/crytic/crytic-compile/pull/304 Metadata seems to have a weird behavior on windows. This needs to be investigated
I think that this code was made at a time where crytic-compile was lacking the exact solc version used for compilation https://github.com/crytic/crytic-compile/blob/256f04dcf8faeedffd58f0f888f93d2b6fd6975a/crytic_compile/source_unit.py#L263-L350 Now that we have this information, we can...
Using this in another tool, I noticed I was failing to match bytecode appropriately when using crytic-compile's `standard` export format. I switched to `solc`, but still had issues. After poking...
Ran into issues involving `KeyError XXX` similar to https://github.com/crytic/slither/issues/1324 Did some basic debugging and noticed this is due to sourceMap iteration going out of bounds for particular contracts in the...