run scripts

This commit is contained in:
Nick Armstrong
2022-03-21 11:13:24 -07:00
parent 2be84e627b
commit 6c5d33ba22
2 changed files with 41 additions and 2 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,23 @@
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 \
--staging \
--msg "${msg}"