Skip to content

Commit

Permalink
fix: rename getProposalTypes to proposalTypes
Browse files Browse the repository at this point in the history
Signed-off-by: 0xRaccoon <[email protected]>
  • Loading branch information
0xRaccoon committed Dec 20, 2023
1 parent deb1e2a commit 2efd4bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions solidity/contracts/governance/WonderGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -884,4 +884,11 @@ abstract contract WonderGovernor is
* @inheritdoc IWonderGovernor
*/
function quorum(uint256 timepoint, uint8 proposalType) public view virtual returns (uint256);

/**
* @inheritdoc IWonderGovernor
*/
function proposalTypes() public view virtual override returns (uint8[] memory) {
return _proposalTypes();
}
}
2 changes: 1 addition & 1 deletion solidity/interfaces/governance/IWonderGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -433,5 +433,5 @@ interface IWonderGovernor is IERC165, IERC6372 {
/**
* @notice Returns the types of proposals that are supported by the governor.
*/
function getProposalTypes() external view returns (uint8[] memory);
function proposalTypes() external view returns (uint8[] memory);
}

0 comments on commit 2efd4bc

Please sign in to comment.