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:
@ -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)
|
||||
|
||||
@ -6,8 +6,7 @@ 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 \
|
||||
--rule_sanity \
|
||||
$@
|
||||
Reference in New Issue
Block a user