From 90ea7176a834074dacffbdc0dfdf009d110bf9b0 Mon Sep 17 00:00:00 2001 From: Pietro Carta <6378675+ptrcarta@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:25:12 +0200 Subject: [PATCH] Fix error in documentation and typo --- contracts/governance/Governor.sol | 2 +- contracts/governance/IGovernor.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/governance/Governor.sol b/contracts/governance/Governor.sol index 6855163d583..ae34135911c 100644 --- a/contracts/governance/Governor.sol +++ b/contracts/governance/Governor.sol @@ -120,7 +120,7 @@ abstract contract Governor is Context, ERC165, EIP712, IGovernor, IERC721Receive /** * @dev See {IGovernor-hashProposal}. * - * The proposal id is produced by hashing the RLC encoded `targets` array, the `values` array, the `calldatas` array + * The proposal id is produced by hashing the ABI encoded `targets` array, the `values` array, the `calldatas` array * and the descriptionHash (bytes32 which itself is the keccak256 hash of the description string). This proposal id * can be produced from the proposal data which is part of the {ProposalCreated} event. It can even be computed in * advance, before the proposal is submitted. diff --git a/contracts/governance/IGovernor.sol b/contracts/governance/IGovernor.sol index 8b21d291d19..829d516c577 100644 --- a/contracts/governance/IGovernor.sol +++ b/contracts/governance/IGovernor.sol @@ -141,7 +141,7 @@ abstract contract IGovernor is IERC165 { /** * @notice module:user-config * @dev Delay, in number of block, between the proposal is created and the vote starts. This can be increassed to - * leave time for users to buy voting power, of delegate it, before the voting of a proposal starts. + * leave time for users to buy voting power, or delegate it, before the voting of a proposal starts. */ function votingDelay() public view virtual returns (uint256);