Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into certora/erc20

This commit is contained in:
Aleksander Kryukov
2022-03-27 16:06:49 +01:00
6 changed files with 611 additions and 106 deletions

View File

@ -0,0 +1,23 @@
if [ -z "$2" ]
then
echo "Incorrect number of arguments"
echo ""
echo "Usage: (from git root)"
echo " ./certora/scripts/`basename $0` [message describing the run] [rule or invariant]"
echo ""
exit 1
fi
rule=$1
msg=$2
shift 2
certoraRun \
certora/harnesses/ERC20VotesHarness.sol \
--verify ERC20VotesHarness:certora/specs/ERC20Votes.spec \
--solc solc8.2 \
--optimistic_loop \
--rule ${rule} \
--msg "${msg}" \
--staging \
# --rule_sanity \

View File

@ -1,7 +1,22 @@
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/ERC20VotesHarness.sol \
--verify ERC20VotesHarness:certora/specs/ERC20Votes.spec \
--solc solc8.2 \
--optimistic_loop \
--cloud \
--msg "sanityVotes"
--loop_iter 4 \
--msg "${msg}"