Remove unnecessary virtual (#3650)

This commit is contained in:
William Entriken
2022-08-31 16:25:54 -04:00
committed by GitHub
parent 4b8b92c8bf
commit 1eb55e2864
20 changed files with 39 additions and 52 deletions

View File

@ -31,21 +31,20 @@ contract GovernorPreventLateQuorumMock is
_quorum = quorum_;
}
function quorum(uint256) public view virtual override returns (uint256) {
function quorum(uint256) public view override returns (uint256) {
return _quorum;
}
function proposalDeadline(uint256 proposalId)
public
view
virtual
override(Governor, GovernorPreventLateQuorum)
returns (uint256)
{
return super.proposalDeadline(proposalId);
}
function proposalThreshold() public view virtual override(Governor, GovernorSettings) returns (uint256) {
function proposalThreshold() public view override(Governor, GovernorSettings) returns (uint256) {
return super.proposalThreshold();
}
@ -55,7 +54,7 @@ contract GovernorPreventLateQuorumMock is
uint8 support,
string memory reason,
bytes memory params
) internal virtual override(Governor, GovernorPreventLateQuorum) returns (uint256) {
) internal override(Governor, GovernorPreventLateQuorum) returns (uint256) {
return super._castVote(proposalId, account, support, reason, params);
}
}