-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed _quorumReached function to not include abstentions (M-02) #86
base: main
Are you sure you want to change the base?
Conversation
contracts/CompoundGovernor.sol
Outdated
|
||
/// @inheritdoc GovernorCountingFractionalUpgradeable | ||
// solhint-disable-next-line func-name-mixedcase | ||
function COUNTING_MODE() public pure virtual override(IGovernor, GovernorCountingFractionalUpgradeable) returns (string memory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function COUNTING_MODE() public pure virtual override(IGovernor, GovernorCountingFractionalUpgradeable) returns (string memory) { | |
function COUNTING_MODE() public pure override(IGovernor, GovernorCountingFractionalUpgradeable) returns (string memory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 9bcc3a0
contracts/CompoundGovernor.sol
Outdated
} | ||
|
||
/// @inheritdoc GovernorUpgradeable | ||
/// @dev We override this function to resolve ambiguity between inherited contracts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should change the comment - we override in order to change the quorum strategy. we should also check against the GovernorUpgradeable docs to make sure the natspec is correct (aka that it doesn't reference for + abstain) and if it does, we should not inherit the natspec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 9bcc3a0
Resolves #62