Commit ac21944b authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix slither

parent ce6cb121
......@@ -22,7 +22,7 @@
"test": "forge test",
"gas-snapshot": "forge snapshot",
"storage-snapshot": "./scripts/storage-snapshot.sh",
"slither": "slither .",
"slither": "./scripts/slither.sh",
"clean": "rm -rf ./dist ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo",
"lint:ts:check": "eslint . --max-warnings=0",
"lint:contracts:check": "yarn solhint -f table 'contracts/**/*.sol'",
......
#!/bin/bash
if [ ! -d forge-artifacts/build-info ]; then
npx hardhat compile
fi
cp -rf forge-artifacts/build-info artifacts/build-info
slither .
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