Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Slither to CI #22

Merged
merged 6 commits into from
May 19, 2022
Merged

Adding Slither to CI #22

merged 6 commits into from
May 19, 2022

Conversation

pedrommaiaa
Copy link
Member

WIP #20

Slither and a Github code scanning integration were added to ci.yml.

Slither is currently failing with error:ERROR:CryticCompile:Solidity version not found: No solc version set.

@pedrommaiaa
Copy link
Member Author

Apparently slither-action@v0.1.1 doesn't work with Foundry, will change to slither-action@main, as described here.

@pedrommaiaa
Copy link
Member Author

Slither now returns the following: crytic_compile.platform.exceptions.InvalidCompilation: Could not find the cache/solidity-files-cache.json file.If you are using 'cache = true' in foundry's config file, please remove it.

cache is already set to false in foundry.toml, will be investigating the issue.

@pedrommaiaa
Copy link
Member Author

It's an error with forge, add an issue here.

@zerosnacks
Copy link
Contributor

@pedrommaiaa thanks for looking into this!

@zerosnacks
Copy link
Contributor

I noticed Foundry is planning to integrate it in their template, could be a good reference: foundry-rs/forge-template#49

@pedrommaiaa
Copy link
Member Author

Let's keep an eye on both PRs, should work after they are both solved/merged.

@pedrommaiaa pedrommaiaa merged commit 429f115 into Rari-Capital:development May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants