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,7 +31,6 @@ contract GovernorTimelockCompoundMock is
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(Governor, GovernorTimelockCompound)
returns (bool)
{
@ -62,7 +61,6 @@ contract GovernorTimelockCompoundMock is
function state(uint256 proposalId)
public
view
virtual
override(Governor, GovernorTimelockCompound)
returns (ProposalState)
{
@ -79,7 +77,7 @@ contract GovernorTimelockCompoundMock is
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) internal virtual override(Governor, GovernorTimelockCompound) {
) internal override(Governor, GovernorTimelockCompound) {
super._execute(proposalId, targets, values, calldatas, descriptionHash);
}
@ -88,11 +86,11 @@ contract GovernorTimelockCompoundMock is
uint256[] memory values,
bytes[] memory calldatas,
bytes32 salt
) internal virtual override(Governor, GovernorTimelockCompound) returns (uint256 proposalId) {
) internal override(Governor, GovernorTimelockCompound) returns (uint256 proposalId) {
return super._cancel(targets, values, calldatas, salt);
}
function _executor() internal view virtual override(Governor, GovernorTimelockCompound) returns (address) {
function _executor() internal view override(Governor, GovernorTimelockCompound) returns (address) {
return super._executor();
}
}