Files
openzeppelin-contracts/certora/scripts/verifyERC721Votes.sh
2022-04-11 12:46:56 -07:00

26 lines
613 B
Bash

make -C certora munged
if [ -z "$1" ]
then
echo "Incorrect number of arguments"
echo ""
echo "Usage: (from git root)"
echo " ./certora/scripts/`basename $0` [message describing the run]"
echo ""
exit 1
fi
msg=$1
shift 1
certoraRun \
certora/harnesses/ERC721VotesHarness.sol \
certora/munged/utils/Checkpoints.sol \
--verify ERC721VotesHarness:certora/specs/ERC721Votes.spec \
--solc solc8.2 \
--disableLocalTypeChecking \
--optimistic_loop \
--settings -copyLoopUnroll=4 \
--send_only \
--staging "alex/new-dt-hashing-alpha" \
--msg "${msg}" \