Skip to content

Commit

Permalink
fix typos in automation 2.1 (#10190)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixFan1992 committed Aug 14, 2023
1 parent abcbc8e commit a940319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit a940319

Please sign in to comment.