disable GovernorFunctions

This commit is contained in:
Hadrien Croubois
2023-03-15 21:18:50 +01:00
parent dfafd79692
commit 96553597fa
2 changed files with 24 additions and 25 deletions

View File

@ -26,8 +26,8 @@ rule deadlineChangeToPreventLateQuorum(uint256 pId, env e, method f, calldataarg
requireInvariant proposalStateConsistency(pId);
requireInvariant votesImplySnapshotPassed(pId);
// This is not (easily) provable because the prover think `_totalSupplyCheckpoints` can arbitrarily change,
// which causes the quorum() to change. Not sure how to fix that.
// This is not (easily) provable as an invariant because the prover think `_totalSupplyCheckpoints`
// can arbitrarily change, which causes the quorum() to change. Not sure how to fix that.
require !quorumReached(pId) <=> getExtendedDeadline(pId) == 0;
uint256 deadlineBefore = proposalDeadline(pId);