From 2efd4bcc6e7cb411eeac59fb144b5fdd5aa5f69d Mon Sep 17 00:00:00 2001 From: 0xRaccoon Date: Wed, 20 Dec 2023 10:02:38 -0300 Subject: [PATCH] fix: rename getProposalTypes to proposalTypes Signed-off-by: 0xRaccoon --- solidity/contracts/governance/WonderGovernor.sol | 7 +++++++ solidity/interfaces/governance/IWonderGovernor.sol | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/solidity/contracts/governance/WonderGovernor.sol b/solidity/contracts/governance/WonderGovernor.sol index 2e4d675..db3fca8 100644 --- a/solidity/contracts/governance/WonderGovernor.sol +++ b/solidity/contracts/governance/WonderGovernor.sol @@ -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(); + } } diff --git a/solidity/interfaces/governance/IWonderGovernor.sol b/solidity/interfaces/governance/IWonderGovernor.sol index e7c21d2..2e49684 100644 --- a/solidity/interfaces/governance/IWonderGovernor.sol +++ b/solidity/interfaces/governance/IWonderGovernor.sol @@ -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); }