Commit 4adbe760 authored by Maurelian's avatar Maurelian

ci(ctb): Slither fails only on high severity findings

This change implements the information provided in these slither
issues:
https://github.com/crytic/slither/issues/1408
https://github.com/crytic/slither-action/issues/38

Apparently 'fail_pedantic' defaults to true, which overrides the
'exclude_*' settings and causes failures on optimization and
informational severity findings.

As is this config should:
1. Fail only on High severity findings
2. Print Medium severity findings but not fail on them.

This commit also deletes the findings in the slither db which
were less than high severity. They are now simply ignored via this
corrected config.
parent 3c052f25
{ {
"detectors_to_exclude": "assembly-usage,block-timestamp,naming-convention,solc-version,low-level-calls,boolean-equality", "detectors_to_exclude": "",
"fail_high": true,
"fail_pedantic": false,
"exclude_optimization": true,
"exclude_informational": true, "exclude_informational": true,
"exclude_low": true, "exclude_low": true,
"exclude_medium": true, "exclude_medium": true,
"exclude_high": false,
"solc_disable_warnings": false, "solc_disable_warnings": false,
"hardhat_ignore_compile": false, "hardhat_ignore_compile": false,
"disable_color": false, "disable_color": false,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment