Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
leekt committed Apr 22, 2024
1 parent 23637da commit e42a161
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/interfaces/IERC7579Account.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ interface IERC7579Account {

/**
* @dev installs a Module of a certain type on the smart account
* @dev Implement Authorization control of your chosing
* @dev Implement Authorization control of your choosing
* @param moduleTypeId the module type ID according the ERC-7579 spec
* @param module the module address
* @param initData arbitrary data that may be required on the module during `onInstall`
Expand All @@ -63,7 +63,7 @@ interface IERC7579Account {

/**
* @dev uninstalls a Module of a certain type on the smart account
* @dev Implement Authorization control of your chosing
* @dev Implement Authorization control of your choosing
* @param moduleTypeId the module type ID according the ERC-7579 spec
* @param module the module address
* @param deInitData arbitrary data that may be required on the module during `onUninstall`
Expand All @@ -90,7 +90,7 @@ interface IERC7579Account {
* thus may be necessary to query multiple module types
* @param module the module address
* @param additionalContext additional context data that the smart account may interpret to
* identifiy conditions under which the module is installed.
* identify conditions under which the module is installed.
* usually this is not necessary, but for some special hooks that
* are stored in mappings, this param might be needed
*/
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC7579Modules.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface IValidator is IModule {
/**
* @dev Validates a transaction on behalf of the account.
* This function is intended to be called by the MSA during the ERC-4337 validaton phase
* Note: solely relying on bytes32 hash and signature is not suffcient for some
* Note: solely relying on bytes32 hash and signature is not sufficient for some
* validation implementations (i.e. SessionKeys often need access to userOp.calldata)
* @param userOp The user operation to be validated. The userOp MUST NOT contain any metadata.
* The MSA MUST clean up the userOp before sending it to the validator.
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IEntryPoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ interface IEntryPoint is IStakeManager, INonceManager {
* A custom revert error of handleOps, to report a revert by account or paymaster.
* @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).
* @param reason - Revert reason. see FailedOp(uint256,string), above
* @param inner - data from inner cought revert reason
* @param inner - data from inner caught revert reason
* @dev note that inner is truncated to 2048 bytes
*/
error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);
Expand Down

0 comments on commit e42a161

Please sign in to comment.