Skip to content

Commit 41c7b25

Browse files
ptrcartafrangio
authored andcommitted
Fix error in documentation and typo (#3567)
(cherry picked from commit 0ccfd2d)
1 parent e15862f commit 41c7b25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/governance/Governor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ abstract contract Governor is Context, ERC165, EIP712, IGovernor, IERC721Receive
120120
/**
121121
* @dev See {IGovernor-hashProposal}.
122122
*
123-
* The proposal id is produced by hashing the RLC encoded `targets` array, the `values` array, the `calldatas` array
123+
* The proposal id is produced by hashing the ABI encoded `targets` array, the `values` array, the `calldatas` array
124124
* and the descriptionHash (bytes32 which itself is the keccak256 hash of the description string). This proposal id
125125
* can be produced from the proposal data which is part of the {ProposalCreated} event. It can even be computed in
126126
* advance, before the proposal is submitted.

contracts/governance/IGovernor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ abstract contract IGovernor is IERC165 {
141141
/**
142142
* @notice module:user-config
143143
* @dev Delay, in number of block, between the proposal is created and the vote starts. This can be increassed to
144-
* leave time for users to buy voting power, of delegate it, before the voting of a proposal starts.
144+
* leave time for users to buy voting power, or delegate it, before the voting of a proposal starts.
145145
*/
146146
function votingDelay() public view virtual returns (uint256);
147147

0 commit comments

Comments
 (0)