We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b0b1f commit d60e5a1Copy full SHA for d60e5a1
scripts/analyze
@@ -13,8 +13,14 @@ yarn build && \
13
14
echo "Analyzing contracts..."
15
slither . \
16
- --filter-paths "bancor/*" \
17
- &> reports/analyzer-report.log && \
+ --hardhat-ignore-compile \
+ --hardhat-artifacts-directory ./build/contracts \
18
+ --sarif - \
19
+ --filter-paths "contracts/bancor/.*|contracts/tests/.*|contracts/staking/libs/Cobbs.*|contracts/staking/libs/LibFixedMath.*|contracts/staking/libs/MathUtils.*" \
20
+ --exclude-dependencies \
21
+ --exclude similar-names,naming-convention \
22
+ --disable-color \
23
+ &> reports/analyzer-report.sarif && \
24
slither-check-erc build/flatten/GraphToken.sol GraphToken &> reports/analyzer-report-erc.log
25
26
echo "Done!"
0 commit comments