Clean and fix formal verification (#3798)

Co-authored-by: Michael George <michael@certora.com>
Co-authored-by: Nick Armstrong <nick@certora.com>
Co-authored-by: Michael George <mdgeorge@cs.cornell.edu>
Co-authored-by: Aleksander Kryukov <firealexkryukov@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
teryanarmen
2022-11-04 10:07:39 -07:00
committed by GitHub
parent 07ac1030e7
commit 2c5194f3f1
20 changed files with 685 additions and 398 deletions

View File

@ -4,7 +4,7 @@ set -euxo pipefail
for contract in certora/harnesses/Wizard*.sol;
do
# NOTE: some spec wile are not governor related, and should be run on Wizard*.sol
# NOTE: some spec files are not governor related, and should be run on Wizard*.sol
for spec in certora/specs/*.spec;
do
contractFile=$(basename $contract)

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -euxo pipefail
certoraRun \
certora/harnesses/ERC20VotesHarness.sol certora/harnesses/GovernorFullHarness.sol \
--verify GovernorFullHarness:certora/specs/GovernorPreventLateQuorum.spec \
--link GovernorFullHarness:token=ERC20VotesHarness \
--solc solc \
--optimistic_loop \
--loop_iter 1 \
--rule_sanity advanced \
$@