Update Prettier Solidity (#3898)
This commit is contained in:
@ -28,21 +28,15 @@ contract GovernorTimelockCompoundMock is
|
||||
GovernorVotesQuorumFraction(quorumNumerator_)
|
||||
{}
|
||||
|
||||
function supportsInterface(bytes4 interfaceId)
|
||||
public
|
||||
view
|
||||
override(Governor, GovernorTimelockCompound)
|
||||
returns (bool)
|
||||
{
|
||||
function supportsInterface(
|
||||
bytes4 interfaceId
|
||||
) public view override(Governor, GovernorTimelockCompound) returns (bool) {
|
||||
return super.supportsInterface(interfaceId);
|
||||
}
|
||||
|
||||
function quorum(uint256 blockNumber)
|
||||
public
|
||||
view
|
||||
override(IGovernor, GovernorVotesQuorumFraction)
|
||||
returns (uint256)
|
||||
{
|
||||
function quorum(
|
||||
uint256 blockNumber
|
||||
) public view override(IGovernor, GovernorVotesQuorumFraction) returns (uint256) {
|
||||
return super.quorum(blockNumber);
|
||||
}
|
||||
|
||||
@ -58,12 +52,9 @@ contract GovernorTimelockCompoundMock is
|
||||
/**
|
||||
* Overriding nightmare
|
||||
*/
|
||||
function state(uint256 proposalId)
|
||||
public
|
||||
view
|
||||
override(Governor, GovernorTimelockCompound)
|
||||
returns (ProposalState)
|
||||
{
|
||||
function state(
|
||||
uint256 proposalId
|
||||
) public view override(Governor, GovernorTimelockCompound) returns (ProposalState) {
|
||||
return super.state(proposalId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user