Skip to content

Commit 83dc7b1

Browse files
fix: update validation function references in comments
1 parent c5104b0 commit 83dc7b1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

lib/account-abstraction

Submodule account-abstraction updated 41 files

lib/openzeppelin-contracts

src/interfaces/IAccountLoupe.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface IAccountLoupe {
4141

4242
/// @notice Get the validation data for a validation.
4343
/// @dev If the selector is a native function, the module address will be the address of the account.
44-
/// @param validationFunction The validationFunction to get the data for.
44+
/// @param validationFunction The validation function to get the data for.
4545
/// @return ValidationData The module address for this selector.
4646
function getValidationData(ModuleEntity validationFunction)
4747
external

src/interfaces/IValidationModule.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interface
66
import {IModule} from "./IModule.sol";
77

88
interface IValidationModule is IModule {
9-
/// @notice Run the user operation validationFunction specified by the `entityId`.
9+
/// @notice Run the user operation validation function specified by the `entityId`.
1010
/// @param entityId An identifier that routes the call to different internal implementations, should there
1111
/// be more than one.
1212
/// @param userOp The user operation.
@@ -16,7 +16,7 @@ interface IValidationModule is IModule {
1616
external
1717
returns (uint256);
1818

19-
/// @notice Run the runtime validationFunction specified by the `entityId`.
19+
/// @notice Run the runtime validation function specified by the `entityId`.
2020
/// @dev To indicate the entire call should revert, the function MUST revert.
2121
/// @param account the account to validate for.
2222
/// @param entityId An identifier that routes the call to different internal implementations, should there

standard/ERCs/erc-6900.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ interface IAccountLoupe {
265265
266266
/// @notice Get the validation data for a validation.
267267
/// @dev If the selector is a native function, the module address will be the address of the account.
268-
/// @param validationFunction The validationFunction to get the data for.
268+
/// @param validationFunction The validation function to get the data for.
269269
/// @return ValidationData The module address for this selector.
270270
function getValidationData(ModuleEntity validationFunction)
271271
external
@@ -324,7 +324,7 @@ interface IModule is IERC165 {
324324

325325
```solidity
326326
interface IValidationModule is IModule {
327-
/// @notice Run the user operation validationFunction specified by the `entityId`.
327+
/// @notice Run the user operation validation function specified by the `entityId`.
328328
/// @param entityId An identifier that routes the call to different internal implementations, should there
329329
/// be more than one.
330330
/// @param userOp The user operation.
@@ -334,7 +334,7 @@ interface IValidationModule is IModule {
334334
external
335335
returns (uint256);
336336
337-
/// @notice Run the runtime validationFunction specified by the `entityId`.
337+
/// @notice Run the runtime validation function specified by the `entityId`.
338338
/// @dev To indicate the entire call should revert, the function MUST revert.
339339
/// @param account the account to validate for.
340340
/// @param entityId An identifier that routes the call to different internal implementations, should there
@@ -493,7 +493,7 @@ enum ManifestAssociatedFunctionType {
493493
// on external validation functions. It MUST NOT depend on external hooks, or installation will fail.
494494
DEPENDENCY,
495495
// Resolves to a magic value to always bypass runtime validation for a given function.
496-
// This is only assignable on runtime validation functions. If it were to be used on a user op validationFunction,
496+
// This is only assignable on runtime validation functions. If it were to be used on a user op validation function,
497497
// it would risk burning gas from the account. When used as a hook in any hook location, it is equivalent to not
498498
// setting a hook and is therefore disallowed.
499499
RUNTIME_VALIDATION_ALWAYS_ALLOW,

0 commit comments

Comments
 (0)