From 5443d41d381fef5d970597e850f33ab4abeba4ae Mon Sep 17 00:00:00 2001 From: FelixFan1992 Date: Mon, 14 Aug 2023 11:21:52 -0400 Subject: [PATCH] fix typos in automation 2.1 --- .../src/v0.8/dev/automation/2_1/KeeperRegistryLogicA2_1.sol | 4 ++-- .../src/v0.8/dev/automation/2_1/KeeperRegistryLogicB2_1.sol | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicA2_1.sol b/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicA2_1.sol index 1535b62f12f..ca3d6f7efd0 100644 --- a/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicA2_1.sol +++ b/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicA2_1.sol @@ -388,7 +388,7 @@ contract KeeperRegistryLogicA2_1 is KeeperRegistryBase2_1, Chainable { /** * @notice received upkeeps migrated from another registry * @param encodedUpkeeps the raw upkeep data to import - * @dev this function is never called direcly, it is only called by another registry's migrate function + * @dev this function is never called directly, it is only called by another registry's migrate function */ function receiveUpkeeps(bytes calldata encodedUpkeeps) external { if ( @@ -425,7 +425,7 @@ contract KeeperRegistryLogicA2_1 is KeeperRegistryBase2_1, Chainable { /** * @notice sets the upkeep trigger config * @param id the upkeepID to change the trigger for - * @param triggerConfig the new triggerconfig + * @param triggerConfig the new trigger config */ function setUpkeepTriggerConfig(uint256 id, bytes calldata triggerConfig) external { _requireAdminAndNotCancelled(id); diff --git a/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicB2_1.sol b/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicB2_1.sol index c26538b0923..c34d2a01aaf 100644 --- a/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicB2_1.sol +++ b/contracts/src/v0.8/dev/automation/2_1/KeeperRegistryLogicB2_1.sol @@ -167,7 +167,7 @@ contract KeeperRegistryLogicB2_1 is KeeperRegistryBase2_1 { ///////////////////////////// /** - * @notice sets the privledge config for an upkeep + * @notice sets the privilege config for an upkeep */ function setUpkeepPrivilegeConfig(uint256 upkeepId, bytes calldata newPrivilegeConfig) external { if (msg.sender != s_storage.upkeepPrivilegeManager) { @@ -240,8 +240,8 @@ contract KeeperRegistryLogicB2_1 is KeeperRegistryBase2_1 { } /** - * @notice sets a generic bytes field used to indicate the privledges that this admin address had - * @param admin the address to set privledges for + * @notice sets a generic bytes field used to indicate the privilege that this admin address had + * @param admin the address to set privilege for * @param newPrivilegeConfig the privileges that this admin has */ function setAdminPrivilegeConfig(address admin, bytes calldata newPrivilegeConfig) external {