mirror of
https://github.com/crytic/slither.git
synced 2026-10-12 10:59:58 +00:00
- Rename travis_ to ci_ - Move shared code to scripts/ci_tests.sh - Rename _4 /_5 to detectors_4 / detectors_5 - Rename generation scripts - Create solidity 6 / 7 scripts (but there is no test for now) - Use solc-select - Update CONTRIBUTING.md guidelines
24 lines
428 B
Bash
Executable File
24 lines
428 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
### Test etherscan integration
|
|
|
|
mkdir etherscan
|
|
cd etherscan || exit 255
|
|
|
|
slither 0x7F37f78cBD74481E593F9C737776F7113d76B315 --etherscan-apikey "$GITHUB_ETHERSCAN"
|
|
|
|
if [ $? -ne 5 ]
|
|
then
|
|
echo "Etherscan test failed"
|
|
exit 255
|
|
fi
|
|
|
|
slither rinkeby:0xFe05820C5A92D9bc906D4A46F662dbeba794d3b7 --etherscan-apikey "$GITHUB_ETHERSCAN"
|
|
|
|
if [ $? -ne 70 ]
|
|
then
|
|
echo "Etherscan test failed"
|
|
exit 255
|
|
fi
|
|
|