Skip to content

Commit 802d4d8

Browse files
Amxxfrangio
andauthored
Apply suggestions from code review
Co-authored-by: Francisco <[email protected]>
1 parent 812ecb4 commit 802d4d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/governance/IGovernor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ abstract contract IGovernor is IERC165, IERC6372 {
238238
*
239239
* NOTE: This value is stored when the proposal is submitted so that possible changes to the value do not affect
240240
* proposals that have already been submitted. The type used to save it is a uint32. Consequently, while this
241-
* interface returns a uint256, the value it returns should fit in a uint48.
241+
* interface returns a uint256, the value it returns should fit in a uint32.
242242
*/
243243
function votingPeriod() public view virtual returns (uint256);
244244

contracts/governance/extensions/GovernorSettings.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import "../Governor.sol";
1313
abstract contract GovernorSettings is Governor {
1414
// amount of token
1515
uint256 private _proposalThreshold;
16-
// duration: limited to uint48 in core (same as clock() type)
16+
// timepoint: limited to uint48 in core (same as clock() type)
1717
uint48 private _votingDelay;
1818
// duration: limited to uint32 in core
1919
uint32 private _votingPeriod;

0 commit comments

Comments
 (0)