Skip to content

Commit a138d3b

Browse files
committed
etherscan: Add test case
This adds a test case with several contracts and file paths.
1 parent b3dbcc8 commit a138d3b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/ci_test_etherscan.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ then
2323
exit 255
2424
fi
2525

26+
# From crytic/slither#1154
27+
crytic-compile 0xcfc1E0968CA08aEe88CbF664D4A1f8B881d90f37 --compile-remove-metadata --etherscan-apikey "$GITHUB_ETHERSCAN"
28+
29+
if [ $? -ne 0 ]
30+
then
31+
echo "Etherscan test failed"
32+
exit 255
33+
fi

0 commit comments

Comments
 (0)