Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in automation 2.1 #10190

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading