RemovedInsertedBugForSumRule

This commit is contained in:
Aleksander Kryukov
2021-11-09 15:16:44 +02:00
committed by Aleksander Kryukov
parent 92744a195a
commit f8a54d2ae2
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ rule immutableFieldsAfterProposalCreation(uint256 pId, method f) {
}
/**
* Check if it's possible to vote two time. Relevant to GovernorCountingSimpleHarness.sol contract
* A user cannot vote twice
*/
rule doubleVoting(uint256 pId, uint8 sup) {
env e;

View File

@ -98,7 +98,7 @@ abstract contract GovernorCountingSimple is Governor {
} else if (support == uint8(VoteType.For)) {
proposalvote.forVotes += weight;
} else if (support == uint8(VoteType.Abstain)) {
// proposalvote.abstainVotes += weight;
proposalvote.abstainVotes += weight;
} else {
revert("GovernorVotingSimple: invalid value for enum VoteType");
}